mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Fix struct sequence glossary entry grammar (GH-9030)
... by removing a superfluous "either". Reported by Никита Люшненко on docs@.
This commit is contained in:
parent
2d7102e726
commit
98b976a2f8
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ Glossary
|
|||
|
||||
struct sequence
|
||||
A tuple with named elements. Struct sequences expose an interface similar
|
||||
to :term:`named tuple` in that elements can either be accessed either by
|
||||
to :term:`named tuple` in that elements can be accessed either by
|
||||
index or as an attribute. However, they do not have any of the named tuple
|
||||
methods like :meth:`~collections.somenamedtuple._make` or
|
||||
:meth:`~collections.somenamedtuple._asdict`. Examples of struct sequences
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue