From: Marco Buttu Date: Fri, 9 Jun 2017 14:28:28 +0000 (+0200) Subject: bpo-30217: Add the operators ~ and | to the index (#1502) X-Git-Tag: v3.7.0a1~658 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5eb7075915f0509c5027376bda0e6d9c1e505a2c;p=thirdparty%2FPython%2Fcpython.git bpo-30217: Add the operators ~ and | to the index (#1502) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 492b82b9a494..24762b131458 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -394,10 +394,12 @@ Bitwise Operations on Integer Types pair: bitwise; operations pair: shifting; operations pair: masking; operations + operator: | operator: ^ operator: & operator: << operator: >> + operator: ~ Bitwise operations only make sense for integers. Negative numbers are treated as their 2's complement value (this assumes that there are enough bits so that