summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-10-11 21:08:02 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-10-11 21:08:02 (GMT)
commit463bfafd24b3fade78ab38afe39e7177db022c7f (patch)
tree341da97f499f42f556b4262e4a14b60555f03c98 /Doc
parenta5c0e6d6c8e3513017009796ff34bb9c14512559 (diff)
downloadcpython-463bfafd24b3fade78ab38afe39e7177db022c7f.zip
cpython-463bfafd24b3fade78ab38afe39e7177db022c7f.tar.gz
cpython-463bfafd24b3fade78ab38afe39e7177db022c7f.tar.bz2
Clarify deprecation of the floor div operator, modulo operator,
and divmod() function for complex numbers. Closes SF Bug 621708: Unclear deprecation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ref/ref5.tex9
1 files changed, 4 insertions, 5 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex
index ef6cba9..f554ab4 100644
--- a/Doc/ref/ref5.tex
+++ b/Doc/ref/ref5.tex
@@ -700,11 +700,10 @@ approximately where \code{x/y} is replaced by \code{floor(x/y)}) or
* y + x \%{} y} be very close to \code{x}.
}.
-Complex floor division operator, modulo operator, and
-\function{divmod()}.
-
-\deprecated{2.3}{Instead convert to float using \function{abs()}
-if appropriate.}
+\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.
The arguments must either both be numbers or both sequences of the