]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2136)
authorMarco Buttu <marco.buttu@gmail.com>
Mon, 12 Jun 2017 19:41:42 +0000 (21:41 +0200)
committerMariatta <Mariatta@users.noreply.github.com>
Mon, 12 Jun 2017 19:41:42 +0000 (12:41 -0700)
(cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)

Doc/library/stdtypes.rst

index ca3404aa21e555b679f2eb9cf3ea23d56d1a4815..083fe5367af9d8c6a24107825c82e52528b143b7 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