From 2a39b71ecc7804ec6bbfe89b46e41aa777fff471 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 28 Dec 2010 09:16:12 +0000 Subject: Replace sys.maxint mention by sys.maxsize. --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12