From: Marco Buttu Date: Mon, 8 May 2017 15:51:19 +0000 (+0200) Subject: bpo-30217: add the operators ~ and | to the index X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc980dfbcfce4695ccde056c3983160ba97b5a36;p=thirdparty%2FPython%2Fcpython.git bpo-30217: add the operators ~ and | to the index --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 552d7fc7c3f8..8004c35c2165 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