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

Doc/library/stdtypes.rst

index 4e605eba59ff526de0f5c9dba5f56a631595c03a..bc7411c809a7ef4a730f177cbf41fc8d3b0686fa 100644 (file)
@@ -423,10 +423,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 a sufficiently large number of bits