summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-15 09:55:35 +0000
committerGeorg Brandl <georg@python.org>2007-12-15 09:55:35 +0000
commitc5c28b4a491177299c6035f366942c60646f7e90 (patch)
treec9ae66a98fc5c8b7ca1f351d4070058543c0f0b1
parent28fb3a9f42db20545eb3950df7c0d8b3737f93fc (diff)
downloadcpython-c5c28b4a491177299c6035f366942c60646f7e90.tar.gz
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 3fc86e4df2..368bd4cf2e 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