bpo-38096: Complete the "structseq" and "named tuple" cleanup (GH-16010)

This commit is contained in:
Raymond Hettinger 2019-09-12 07:56:28 -07:00 committed by GitHub
parent c6734ee7c5
commit 4210ad5ebd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -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"