summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-15 09:55:35 (GMT)
committerGeorg Brandl <georg@python.org>2007-12-15 09:55:35 (GMT)
commit3377055486af6021e7662fc53f1504bd26981ea6 (patch)
tree2d60a5d931a8572d6dbacff3dd31f5e313728a63
parent2d378ab5b21919193056c2314bfeef634ab67a29 (diff)
downloadcpython-3377055486af6021e7662fc53f1504bd26981ea6.zip
cpython-3377055486af6021e7662fc53f1504bd26981ea6.tar.gz
cpython-3377055486af6021e7662fc53f1504bd26981ea6.tar.bz2
Fix sys.maxsize docs.
-rw-r--r--Doc/library/sys.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 3fc86e4..368bd4c 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -367,10 +367,11 @@ always available.
.. data:: maxsize
- An integer giving the size of ``Py_ssize_t``. It's usually 2**31-1 on a 32
- bit platform and 2**63-1 on a 64bit platform.
+ An integer giving the maximum value a variable of type :ctype:`Py_ssize_t` can
+ take. It's usually ``2**31 - 1`` on a 32-bit platform and ``2**63 - 1`` on a
+ 64-bit platform.
- ..versionadded:: 3.0
+ .. versionadded:: 3.0
.. data:: maxunicode