summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-04-22 18:50:09 (GMT)
committerGitHub <noreply@github.com>2017-04-22 18:50:09 (GMT)
commit997a4adea606069e01beac6269920709db3994d1 (patch)
tree32ab7680364bd2beb792a56cfbe056232c9ca91a
parent7fae81e1672d0b4110d31ea6a765b54f63a2e54b (diff)
downloadcpython-997a4adea606069e01beac6269920709db3994d1.zip
cpython-997a4adea606069e01beac6269920709db3994d1.tar.gz
cpython-997a4adea606069e01beac6269920709db3994d1.tar.bz2
Remove outdated note about constraining of the bit shift right operand. (#1258)
The constrain was removed in bpo-29816.
-rw-r--r--Doc/reference/expressions.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index c4f6c55..6e9e07a 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1173,11 +1173,6 @@ the left or right by the number of bits given by the second argument.
A right shift by *n* bits is defined as floor division by ``pow(2,n)``. A left
shift by *n* bits is defined as multiplication with ``pow(2,n)``.
-.. note::
-
- In the current implementation, the right-hand operand is required
- to be at most :attr:`sys.maxsize`. If the right-hand operand is larger than
- :attr:`sys.maxsize` an :exc:`OverflowError` exception is raised.
.. _bitwise: