bpo-30217: add the operators ~ and | to the index

This commit is contained in:
Marco Buttu 2017-05-08 17:51:19 +02:00
parent cc3fa204d3
commit dc980dfbcf

View 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