summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-04-30 20:36:08 (GMT)
committerR David Murray <rdmurray@bitdance.com>2011-04-30 20:36:08 (GMT)
commitb751d6195f9cb6b2813c92f8562cc51a8667e5b8 (patch)
treef3c6db806a90ddc532832010c535a3b68d584d4b /Doc/library/sys.rst
parentf97aed1a2506539ca612bad9435b1f92b811857d (diff)
parent9beb34ee0db236839236af6719aa223a753de896 (diff)
downloadcpython-b751d6195f9cb6b2813c92f8562cc51a8667e5b8.zip
cpython-b751d6195f9cb6b2813c92f8562cc51a8667e5b8.tar.gz
cpython-b751d6195f9cb6b2813c92f8562cc51a8667e5b8.tar.bz2
Merge #11901: post-commit review fixes per Georg Brandl
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index ecac1fe..0069052 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -552,10 +552,10 @@ always available.
struct sequence :data:`sys.version_info` may be used for a more human-friendly
encoding of the same information.
- The ``hexversion`` is a 32-bit number with the following layout
+ The ``hexversion`` is a 32-bit number with the following layout:
+-------------------------+------------------------------------------------+
- | bits (big endian order) | meaning |
+ | Bits (big endian order) | Meaning |
+=========================+================================================+
| :const:`1-8` | ``PY_MAJOR_VERSION`` (the ``2`` in |
| | ``2.1.0a3``) |
@@ -567,14 +567,14 @@ always available.
| | ``2.1.0a3``) |
+-------------------------+------------------------------------------------+
| :const:`25-28` | ``PY_RELEASE_LEVEL`` (``0xA`` for alpha, |
- | | ``0xB`` for beta, ``0xC`` for gamma and |
- | | ``0xF`` for final) |
+ | | ``0xB`` for beta, ``0xC`` for release |
+ | | candidate and ``0xF`` for final) |
+-------------------------+------------------------------------------------+
| :const:`29-32` | ``PY_RELEASE_SERIAL`` (the ``3`` in |
- | | ``2.1.0a3``) |
+ | | ``2.1.0a3``, zero for final releases) |
+-------------------------+------------------------------------------------+
- thus ``2.1.0a3`` is hexversion ``0x020100a3``
+ Thus ``2.1.0a3`` is hexversion ``0x020100a3``.
.. data:: int_info
@@ -582,7 +582,7 @@ always available.
internal representation of integers. The attributes are read only.
+-------------------------+----------------------------------------------+
- | attribute | explanation |
+ | Attribute | Explanation |
+=========================+==============================================+
| :const:`bits_per_digit` | number of bits held in each digit. Python |
| | integers are stored internally in base |