summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-06-20 21:10:25 (GMT)
committerFred Drake <fdrake@acm.org>2002-06-20 21:10:25 (GMT)
commit807354f3b643685d67b388c164716ccb3dffd58e (patch)
treeb40a56eaf403cb583bf436500a9cd6c70ea7432d
parentdce695aa4e668b477f0622a9a15c3c3b47c5df9f (diff)
downloadcpython-807354f3b643685d67b388c164716ccb3dffd58e.zip
cpython-807354f3b643685d67b388c164716ccb3dffd58e.tar.gz
cpython-807354f3b643685d67b388c164716ccb3dffd58e.tar.bz2
Add a note that divmod() with complex numbers is deprecated.
-rw-r--r--Doc/lib/libfuncs.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 6ac17d1..dbd3d55 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -259,6 +259,9 @@ def my_import(name):
\var{b} + \var{a} \%{} \var{b}} is very close to \var{a}, if
\code{\var{a} \%{} \var{b}} is non-zero it has the same sign as
\var{b}, and \code{0 <= abs(\var{a} \%{} \var{b}) < abs(\var{b})}.
+
+ \versionchanged[Using \function{divmod()} with complex numbers is
+ deprecated]{2.3}
\end{funcdesc}
\begin{funcdesc}{enumerate}{iterable}