bpo-30217: Add the operators ~ and | to the index (#1502)

This commit is contained in:
Marco Buttu 2017-06-09 16:28:28 +02:00 committed by Serhiy Storchaka
parent 63c2c8ac17
commit 5eb7075915

View file

@ -394,10 +394,12 @@ Bitwise Operations on Integer Types
pair: bitwise; operations pair: bitwise; operations
pair: shifting; operations pair: shifting; operations
pair: masking; operations pair: masking; operations
operator: |
operator: ^ operator: ^
operator: & operator: &
operator: << operator: <<
operator: >> operator: >>
operator: ~
Bitwise operations only make sense for integers. Negative numbers are treated 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 as their 2's complement value (this assumes that there are enough bits so that