summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-03-07 13:45:03 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2013-03-07 13:45:03 (GMT)
commit90c91afd2e2f8f52c9ac53acd09e732b1da42406 (patch)
treead785674ce583d1c3bb95105245a5ff8f84db61d /Doc/library/sys.rst
parent3ff5e7578efbe5ba6b2ad78cd767b593284c450b (diff)
parent7d82c8621bb72035b2e36388d616533dacfc2e43 (diff)
downloadcpython-90c91afd2e2f8f52c9ac53acd09e732b1da42406.zip
cpython-90c91afd2e2f8f52c9ac53acd09e732b1da42406.tar.gz
cpython-90c91afd2e2f8f52c9ac53acd09e732b1da42406.tar.bz2
Merge fix for #15465 from 3.3
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst24
1 files changed, 1 insertions, 23 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index baae60e..f91a399 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -613,29 +613,7 @@ always available.
:term:`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:
-
- +-------------------------+------------------------------------------------+
- | Bits (big endian order) | Meaning |
- +=========================+================================================+
- | :const:`1-8` | ``PY_MAJOR_VERSION`` (the ``2`` in |
- | | ``2.1.0a3``) |
- +-------------------------+------------------------------------------------+
- | :const:`9-16` | ``PY_MINOR_VERSION`` (the ``1`` in |
- | | ``2.1.0a3``) |
- +-------------------------+------------------------------------------------+
- | :const:`17-24` | ``PY_MICRO_VERSION`` (the ``0`` in |
- | | ``2.1.0a3``) |
- +-------------------------+------------------------------------------------+
- | :const:`25-28` | ``PY_RELEASE_LEVEL`` (``0xA`` for alpha, |
- | | ``0xB`` for beta, ``0xC`` for release |
- | | candidate and ``0xF`` for final) |
- +-------------------------+------------------------------------------------+
- | :const:`29-32` | ``PY_RELEASE_SERIAL`` (the ``3`` in |
- | | ``2.1.0a3``, zero for final releases) |
- +-------------------------+------------------------------------------------+
-
- Thus ``2.1.0a3`` is hexversion ``0x020100a3``.
+ More details of ``hexversion`` can be found at :ref:`apiabiversion`
.. data:: implementation