Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b751d61

Browse files
committed
Merge #11901: post-commit review fixes per Georg Brandl
2 parents f97aed1 + 9beb34e commit b751d61

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Doc/library/sys.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,10 @@ always available.
552552
struct sequence :data:`sys.version_info` may be used for a more human-friendly
553553
encoding of the same information.
554554

555-
The ``hexversion`` is a 32-bit number with the following layout
555+
The ``hexversion`` is a 32-bit number with the following layout:
556556

557557
+-------------------------+------------------------------------------------+
558-
| bits (big endian order) | meaning |
558+
| Bits (big endian order) | Meaning |
559559
+=========================+================================================+
560560
| :const:`1-8` | ``PY_MAJOR_VERSION`` (the ``2`` in |
561561
| | ``2.1.0a3``) |
@@ -567,22 +567,22 @@ always available.
567567
| | ``2.1.0a3``) |
568568
+-------------------------+------------------------------------------------+
569569
| :const:`25-28` | ``PY_RELEASE_LEVEL`` (``0xA`` for alpha, |
570-
| | ``0xB`` for beta, ``0xC`` for gamma and |
571-
| | ``0xF`` for final) |
570+
| | ``0xB`` for beta, ``0xC`` for release |
571+
| | candidate and ``0xF`` for final) |
572572
+-------------------------+------------------------------------------------+
573573
| :const:`29-32` | ``PY_RELEASE_SERIAL`` (the ``3`` in |
574-
| | ``2.1.0a3``) |
574+
| | ``2.1.0a3``, zero for final releases) |
575575
+-------------------------+------------------------------------------------+
576576

577-
thus ``2.1.0a3`` is hexversion ``0x020100a3``
577+
Thus ``2.1.0a3`` is hexversion ``0x020100a3``.
578578

579579
.. data:: int_info
580580

581581
A struct sequence that holds information about Python's
582582
internal representation of integers. The attributes are read only.
583583

584584
+-------------------------+----------------------------------------------+
585-
| attribute | explanation |
585+
| Attribute | Explanation |
586586
+=========================+==============================================+
587587
| :const:`bits_per_digit` | number of bits held in each digit. Python |
588588
| | integers are stored internally in base |

0 commit comments

Comments
 (0)