[Python-checkins] python/dist/src/Doc/ref ref5.tex,1.53.4.8,1.53.4.9

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Fri, 11 Oct 2002 14:00:00 -0700


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv15753

Modified Files:
      Tag: release22-maint
	ref5.tex 
Log Message:
Clarify impending 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.53.4.8
retrieving revision 1.53.4.9
diff -C2 -d -r1.53.4.8 -r1.53.4.9
*** ref5.tex	7 Oct 2002 16:26:28 -0000	1.53.4.8
--- ref5.tex	11 Oct 2002 20:59:57 -0000	1.53.4.9
***************
*** 717,725 ****
  }.
  
! 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.
--- 717,724 ----
  }.
  
! \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.