diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-09-11 19:49:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 19:49:02 -0700 |
commit | eb494b470d36e4951859fc0b89c1fa50006fe84f (patch) | |
tree | 2defd9c32a3c83dd720b80fa21efe0108e441cc6 /Doc/library/sys.rst | |
parent | 39de95b746c990e6a2fe9af5fad01747f58b2e5f (diff) | |
download | cpython-git-revert-15895-named_tuple_concept.tar.gz |
Revert "bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895)"revert-15895-named_tuple_concept
This reverts commit 7117074410118086938044c7a4ef6846ec1662b2.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index ca43dc994c..35d23c67f4 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -408,7 +408,7 @@ always available. .. data:: flags - The :term:`named tuple` *flags* exposes the status of command line + The :term:`struct sequence` *flags* exposes the status of command line flags. The attributes are read only. ============================= ============================= @@ -450,7 +450,7 @@ always available. .. data:: float_info - A :term:`named tuple` holding information about the float type. It + A :term:`struct sequence` holding information about the float type. It contains low level information about the precision and internal representation. The values correspond to the various floating-point constants defined in the standard header file :file:`float.h` for the 'C' @@ -782,7 +782,7 @@ always available. .. data:: hash_info - A :term:`named tuple` giving parameters of the numeric hash + A :term:`struct sequence` giving parameters of the numeric hash implementation. For more details about hashing of numeric types, see :ref:`numeric-hash`. @@ -830,7 +830,7 @@ always available. This is called ``hexversion`` since it only really looks meaningful when viewed as the result of passing it to the built-in :func:`hex` function. The - :term:`named tuple` :data:`sys.version_info` may be used for a more + :term:`struct sequence` :data:`sys.version_info` may be used for a more human-friendly encoding of the same information. More details of ``hexversion`` can be found at :ref:`apiabiversion`. @@ -882,7 +882,7 @@ always available. .. data:: int_info - A :term:`named tuple` that holds information about Python's internal + A :term:`struct sequence` that holds information about Python's internal representation of integers. The attributes are read only. .. tabularcolumns:: |l|L| @@ -1457,7 +1457,7 @@ always available. .. data:: thread_info - A :term:`named tuple` holding information about the thread + A :term:`struct sequence` holding information about the thread implementation. .. tabularcolumns:: |l|p{0.7\linewidth}| |