[docs] sys.maxint in Python 3.2 range() documentation

Christian Taylor cht at tyrael.eu
Sat Dec 25 23:33:49 CET 2010


Hello everyone,

just a minor nitpick:

The documentation for Python 3.2 (beta) refers to sys.maxint when describing 
the range function at http://docs.python.org/dev/library/functions.html#range:
"Ranges containing absolute values larger than sys.maxint are permitted but 
some features (such as len()) will raise OverflowError."

If I'm not mistaken, this should refer to sys.maxsize.

Kind regards,
Christian


More information about the docs mailing list