Skip to content

Commit 5eb7075

Browse files
marco-buttuserhiy-storchaka
authored andcommitted
bpo-30217: Add the operators ~ and | to the index (#1502)
1 parent 63c2c8a commit 5eb7075

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,12 @@ Bitwise Operations on Integer Types
394394
pair: bitwise; operations
395395
pair: shifting; operations
396396
pair: masking; operations
397+
operator: |
397398
operator: ^
398399
operator: &
399400
operator: <<
400401
operator: >>
402+
operator: ~
401403

402404
Bitwise operations only make sense for integers. Negative numbers are treated
403405
as their 2's complement value (this assumes that there are enough bits so that

0 commit comments

Comments
 (0)