From: Georg Brandl Date: Tue, 6 Apr 2010 20:27:59 +0000 (+0000) Subject: Fix syntax. X-Git-Tag: v2.7b1~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb12044392a255a7aad5fb913e43afeb81a67a78;p=thirdparty%2FPython%2Fcpython.git Fix syntax. --- diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 60ab6ea672e9..4341fceaa85a 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.