]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30217: Add the operators ~ and | to the index (#1502)
authorMarco Buttu <marco.buttu@gmail.com>
Fri, 9 Jun 2017 14:28:28 +0000 (16:28 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 9 Jun 2017 14:28:27 +0000 (17:28 +0300)
Doc/library/stdtypes.rst

index 492b82b9a49443258535c671fa3e1aff94aedf42..24762b131458af6f92ddd5f01b867f2a97cb0381 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