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

Georg Brandl georg at python.org
Tue Dec 28 10:15:30 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 25.12.2010 23:33, schrieb Christian Taylor:
> 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.

Hi Christian,

you're right; that should indeed by sys.maxsize.  This is fixed now in the
development docs.

regards,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAk0ZqrEACgkQN9GcIYhpnLATxgCfTchcK5kKvMeGzAcGcSF8XS64
EZ4AoKmI8DVzyMrNKj1bIQWaKrCnFH1/
=a8yF
-----END PGP SIGNATURE-----


More information about the docs mailing list