diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-12 15:20:31 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-09-12 15:20:31 (GMT) |
commit | d04c85f5a74e61637ee17e8d4870c6a1d3b07d3e (patch) | |
tree | 630250f871b16760c8bd9e474aea3608fc155c50 /Objects | |
parent | 98a4a713d001cf2dfb04a9e318e4aea899bc8fbd (diff) | |
download | cpython-d04c85f5a74e61637ee17e8d4870c6a1d3b07d3e.zip cpython-d04c85f5a74e61637ee17e8d4870c6a1d3b07d3e.tar.gz cpython-d04c85f5a74e61637ee17e8d4870c6a1d3b07d3e.tar.bz2 |
bpo-38096: Complete the "structseq" and "named tuple" cleanup (GH-16010) (GH-16062)
(cherry picked from commit 4210ad5ebd5769f585035e022876e161cd0e9a3e)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/structseq.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c index 2c25e16..320bf08 100644 --- a/Objects/structseq.c +++ b/Objects/structseq.c @@ -1,5 +1,11 @@ -/* Implementation helper: a struct that looks like a tuple. See timemodule - and posixmodule for example uses. */ +/* Implementation helper: a struct that looks like a tuple. + See timemodule and posixmodule for example uses. + + The structseq helper is considered an internal CPython implementation + detail. Docs for modules using structseqs should call them + "named tuples" (be sure to include a space between the two + words and add a link back to the term in Docs/glossary.rst). +*/ #include "Python.h" #include "pycore_tupleobject.h" |