[Python-checkins] python/dist/src/Doc/ref ref5.tex,1.65,1.66
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
2002年10月11日 14:08:04 -0700
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv19911
Modified Files:
ref5.tex
Log Message:
Clarify deprecation of the floor div operator, modulo operator,
and divmod() function for complex numbers.
Closes SF Bug 621708: Unclear deprecation.
Index: ref5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref5.tex,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -d -r1.65 -r1.66
*** ref5.tex 7 Oct 2002 16:28:38 -0000 1.65
--- ref5.tex 11 Oct 2002 21:08:02 -0000 1.66
***************
*** 701,709 ****
}.
! Complex floor division operator, modulo operator, and
! \function{divmod()}.
!
! \deprecated{2.3}{Instead convert to float using \function{abs()}
! if appropriate.}
The \code{+} (addition) operator yields the sum of its arguments.
--- 701,708 ----
}.
! \deprecated{2.3}{The floor division operator, the modulo operator,
! and the \function{divmod()} function are no longer defined for complex
! numbers. Instead, convert to a floating point number using the
! \function{abs()} function if appropriate.}
The \code{+} (addition) operator yields the sum of its arguments.