Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9beb34ee
Commit
9beb34ee
authored
Apr 30, 2011
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#11901: post-commit review fixes per Georg Brandl
parent
4c020885
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Doc/library/sys.rst
Doc/library/sys.rst
+7
-7
No files found.
Doc/library/sys.rst
View file @
9beb34ee
...
...
@@ -450,10 +450,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) | m
eaning |
|
Bits (big endian order) | M
eaning |
+=========================+================================================+
| :const:`1-8` | ``PY_MAJOR_VERSION`` (the ``2`` in |
| | ``2.1.0a3``) |
...
...
@@ -465,14 +465,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
...
...
@@ -480,7 +480,7 @@ always available.
internal representation of integers. The attributes are read only.
+-------------------------+----------------------------------------------+
|
attribute | e
xplanation |
|
Attribute | E
xplanation |
+=========================+==============================================+
| :const:`bits_per_digit` | number of bits held in each digit. Python |
| | integers are stored internally in base |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment