File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -580,6 +580,14 @@ Glossary
580580 an :term: `expression ` or a one of several constructs with a keyword, such
581581 as :keyword: `if `, :keyword: `while ` or :keyword: `for `.
582582
583+ struct sequence
584+ A tuple with named elements. Struct sequences expose an interface similiar
585+ to :term: `named tuple ` in that elements can either be accessed either by
586+ index or as an attribute. However, they do not have any of the named tuple
587+ methods like :meth: `~collections.somenamedtuple._make ` or
588+ :meth: `~collections.somenamedtuple._asdict `. Examples of struct sequences
589+ include :data: `sys.float_info ` and the return value of :func: `os.stat `.
590+
583591 triple-quoted string
584592 A string which is bound by three instances of either a quotation mark
585593 (") or an apostrophe ('). While they don't provide any functionality
You can’t perform that action at this time.
0 commit comments