summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-05-20 08:11:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-05-20 08:11:19 (GMT)
commit4dd019fde36b53b30e69a2ce9cee3f2f9f25c2a6 (patch)
tree49969f2e7cf34f52d29252ecc038a35362f77246 /Doc
parentb7e419ebb9c815ad74d20e6e26f61b56eb2bc929 (diff)
downloadcpython-4dd019fde36b53b30e69a2ce9cee3f2f9f25c2a6.zip
cpython-4dd019fde36b53b30e69a2ce9cee3f2f9f25c2a6.tar.gz
cpython-4dd019fde36b53b30e69a2ce9cee3f2f9f25c2a6.tar.bz2
Patch #2488: Add sys.maxsize.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/sys.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 4f6416f..390f73d 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -521,6 +521,11 @@ always available.
is at least 2\*\*31-1. The largest negative integer is ``-maxint-1`` --- the
asymmetry results from the use of 2's complement binary arithmetic.
+.. data:: maxsize
+
+ The largest positive integer supported by the platform's Py_ssize_t type,
+ and thus the maximum size lists, strings, dicts, and many other containers
+ can have.
.. data:: maxunicode