From: Georg Brandl Date: Tue, 28 Dec 2010 09:16:12 +0000 (+0000) Subject: Replace sys.maxint mention by sys.maxsize. X-Git-Tag: v3.2rc1~318 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a39b71ecc7804ec6bbfe89b46e41aa777fff471;p=thirdparty%2FPython%2Fcpython.git Replace sys.maxint mention by sys.maxsize. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 3db6cdf2ccb4..3020128ce5f1 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