summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-04-06 20:27:59 (GMT)
committerGeorg Brandl <georg@python.org>2010-04-06 20:27:59 (GMT)
commitfb12044392a255a7aad5fb913e43afeb81a67a78 (patch)
tree423afcd0a9447195ccb106ebdbf3dc51cc78bc20 /Doc
parent99e73f91454f774be1d46d48b26529c205fefd4e (diff)
downloadcpython-fb12044392a255a7aad5fb913e43afeb81a67a78.zip
cpython-fb12044392a255a7aad5fb913e43afeb81a67a78.tar.gz
cpython-fb12044392a255a7aad5fb913e43afeb81a67a78.tar.bz2
Fix syntax.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/expressions.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 60ab6ea..4341fce 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1000,7 +1000,9 @@ A right shift by *n* bits is defined as division by ``pow(2, n)``. A left shift
by *n* bits is defined as multiplication with ``pow(2, n)``. Negative shift
counts raise a :exc:`ValueError` exception.
-.. note:: In the current implementation, the right-hand operand is required
+.. 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.