diff options
Diffstat (limited to 'Doc/reference/expressions.rst')
-rw-r--r-- | Doc/reference/expressions.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index a5e858b..af79e53 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -821,9 +821,9 @@ The unary ``+`` (plus) operator yields its numeric argument unchanged. .. index:: single: inversion -The unary ``~`` (invert) operator yields the bitwise inversion of its plain or -long integer argument. The bitwise inversion of ``x`` is defined as -``-(x+1)``. It only applies to integral numbers. +The unary ``~`` (invert) operator yields the bitwise inversion of its integer +argument. The bitwise inversion of ``x`` is defined as ``-(x+1)``. It only +applies to integral numbers. .. index:: exception: TypeError |