]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30217: add the operators ~ and | to the index 1502/head
authorMarco Buttu <marco.buttu@gmail.com>
Mon, 8 May 2017 15:51:19 +0000 (17:51 +0200)
committerMarco Buttu <marco.buttu@gmail.com>
Mon, 8 May 2017 15:51:19 +0000 (17:51 +0200)
Doc/library/stdtypes.rst

index 552d7fc7c3f8fec7529bba94716097637b64718f..8004c35c2165a5ea01d97e125fe8e61a781b16ce 100644 (file)
@@ -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