summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-28 09:16:12 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-28 09:16:12 (GMT)
commit2a39b71ecc7804ec6bbfe89b46e41aa777fff471 (patch)
tree4ab85866b08b8420c03fdf53b63d8a5616be8522 /Doc/library
parentb9cb21efc86dbf4e4264288ac6d0cb27861a32ce (diff)
downloadcpython-2a39b71ecc7804ec6bbfe89b46e41aa777fff471.zip
cpython-2a39b71ecc7804ec6bbfe89b46e41aa777fff471.tar.gz
cpython-2a39b71ecc7804ec6bbfe89b46e41aa777fff471.tar.bz2
Replace sys.maxint mention by sys.maxsize.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 3db6cdf..3020128 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1049,7 +1049,7 @@ are always available. They are listed here in alphabetical order.
>>> r[-1]
18
- Ranges containing absolute values larger than ``sys.maxint`` are permitted
+ Ranges containing absolute values larger than :data:`sys.maxsize` are permitted
but some features (such as :func:`len`) will raise :exc:`OverflowError`.
.. versionchanged:: 3.2