]> granicus.if.org Git - python/commitdiff
bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2138)
authorMarco Buttu <marco.buttu@gmail.com>
Mon, 12 Jun 2017 19:43:52 +0000 (21:43 +0200)
committerMariatta <Mariatta@users.noreply.github.com>
Mon, 12 Jun 2017 19:43:52 +0000 (12:43 -0700)
(cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)

Doc/library/stdtypes.rst

index c4588f2438b8ea31ed5cefba40987e83902fa018..3e279e6e5e85254ef04e9963d63da5d4cc8650be 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