We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c5d1d7 commit af7553aCopy full SHA for af7553a
Doc/library/stdtypes.rst
@@ -434,12 +434,10 @@ Notes:
434
Negative shift counts are illegal and cause a :exc:`ValueError` to be raised.
435
436
(2)
437
- A left shift by *n* bits is equivalent to multiplication by ``pow(2, n)``
438
- without overflow check.
+ A left shift by *n* bits is equivalent to multiplication by ``pow(2, n)``.
439
440
(3)
441
- A right shift by *n* bits is equivalent to division by ``pow(2, n)`` without
442
- overflow check.
+ A right shift by *n* bits is equivalent to floor division by ``pow(2, n)``.
443
444
(4)
445
Performing these calculations with at least one extra sign extension bit in
0 commit comments