Documentation Bug: bitwiseoperationsonintegertypes
11 Feb
2022
11 Feb
'22
7:41 a.m.
In the link https://docs.python.org/3.11/library/stdtypes.html#bitwiseoperationsonint... In the table, in the line ~x: I suggest to change "the bits of x inverted" by "Add the bit one to bits of x, and invert the most significant bit (negative indicator)" Add note (5) to ~x line Note 5: if "x" is an integer number then "~x" is equivalent to "(x + 1) * 1" and "~(~x)" is equivalent to "x"
886
Age (days ago)
886
Last active (days ago)
0 comments
1 participants
participants (1)

Fernando Santos