]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport 1.108 documenting Py2.3's impending deprecation of divmod()
authorRaymond Hettinger <python@rcn.com>
Sun, 6 Oct 2002 02:16:52 +0000 (02:16 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 6 Oct 2002 02:16:52 +0000 (02:16 +0000)
for complex numbers.

Doc/lib/libfuncs.tex

index fc00dd4197d604092d2980db7684336e96109f9c..37cb34920042e3803384f38f421dcab60ab2c0dc 100644 (file)
@@ -251,6 +251,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}{eval}{expression\optional{, globals\optional{, locals}}}