mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Add a note that divmod() with complex numbers is deprecated.
This commit is contained in:
parent
dce695aa4e
commit
807354f3b6
1 changed files with 3 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue