File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -753,7 +753,7 @@ Glossary
753753 Some named tuples are built-in types (such as the above examples).
754754 Alternatively, a named tuple can be created from a regular class
755755 definition that inherits from :class: `tuple ` and that defines named
756- fields. Such as class can be written by hand or it can be created with
756+ fields. Such a class can be written by hand or it can be created with
757757 the factory function :func: `collections.namedtuple `. The latter
758758 technique also adds some extra methods that may not be found in
759759 hand-written or built-in named tuples.
Original file line number Diff line number Diff line change 1- /* Implementation helper: a struct that looks like a tuple. See timemodule
2- and posixmodule for example uses. */
1+ /* Implementation helper: a struct that looks like a tuple.
2+ See timemodule and posixmodule for example uses.
3+
4+ The structseq helper is considered an internal CPython implementation
5+ detail. Docs for modules using structseqs should call them
6+ "named tuples" (be sure to include a space between the two
7+ words and add a link back to the term in Docs/glossary.rst).
8+ */
39
410#include "Python.h"
511#include "structmember.h"
You can’t perform that action at this time.
0 commit comments