diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-09-11 14:17:32 (GMT) |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2019-09-11 14:17:32 (GMT) |
commit | 7117074410118086938044c7a4ef6846ec1662b2 (patch) | |
tree | 0c117546203e392b28a3388037227f5b493261e1 /Python/sysmodule.c | |
parent | 7b69069e9aa0047a0dbe8af1a67aa2b355dc68d8 (diff) | |
download | cpython-7117074410118086938044c7a4ef6846ec1662b2.zip cpython-7117074410118086938044c7a4ef6846ec1662b2.tar.gz cpython-7117074410118086938044c7a4ef6846ec1662b2.tar.bz2 |
bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895)
* bpo-38096: Clean up the "struct sequence" / "named tuple" docs
* Fix remaining occurrences of "struct sequence"
* Repair a user visible docstring
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 8509aaf..476e154 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1160,7 +1160,7 @@ static PyTypeObject AsyncGenHooksType; PyDoc_STRVAR(asyncgen_hooks_doc, "asyncgen_hooks\n\ \n\ -A struct sequence providing information about asynchronous\n\ +A named tuple providing information about asynchronous\n\ generators hooks. The attributes are read only."); static PyStructSequence_Field asyncgen_hooks_fields[] = { @@ -1269,7 +1269,7 @@ static PyTypeObject Hash_InfoType; PyDoc_STRVAR(hash_info_doc, "hash_info\n\ \n\ -A struct sequence providing parameters used for computing\n\ +A named tuple providing parameters used for computing\n\ hashes. The attributes are read only."); static PyStructSequence_Field hash_info_fields[] = { @@ -2293,17 +2293,17 @@ builtin_module_names -- tuple of module names built into this interpreter\n\ copyright -- copyright notice pertaining to this interpreter\n\ exec_prefix -- prefix used to find the machine-specific Python library\n\ executable -- absolute path of the executable binary of the Python interpreter\n\ -float_info -- a struct sequence with information about the float implementation.\n\ +float_info -- a named tuple with information about the float implementation.\n\ float_repr_style -- string indicating the style of repr() output for floats\n\ -hash_info -- a struct sequence with information about the hash algorithm.\n\ +hash_info -- a named tuple with information about the hash algorithm.\n\ hexversion -- version information encoded as a single integer\n\ implementation -- Python implementation information.\n\ -int_info -- a struct sequence with information about the int implementation.\n\ +int_info -- a named tuple with information about the int implementation.\n\ maxsize -- the largest supported length of containers.\n\ maxunicode -- the value of the largest Unicode code point\n\ platform -- platform identifier\n\ prefix -- prefix used to find the Python library\n\ -thread_info -- a struct sequence with information about the thread implementation.\n\ +thread_info -- a named tuple with information about the thread implementation.\n\ version -- the version of this interpreter as a string\n\ version_info -- version information as a named tuple\n\ " |