mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Grant Griffin <grant.griffin@honeywell.com>:
Clarify that invert() is a *bitwise* operation.
This commit is contained in:
parent
a1099be778
commit
29c45a5e91
1 changed files with 3 additions and 2 deletions
|
@ -58,8 +58,9 @@ Return the absolute value of \var{o}.
|
|||
\funcline{invert}{o}
|
||||
\funcline{__inv__}{o}
|
||||
\funcline{__invert__}{o}
|
||||
Return the inverse of \var{o}. The names \function{invert()} and
|
||||
\function{__invert__()} were added in Python 2.0.
|
||||
Return the bitwise inverse of the number \var{o}. The names
|
||||
\function{invert()} and \function{__invert__()} were added in Python
|
||||
2.0.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{lshift}{a, b}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue