mirror of
https://github.com/python/cpython.git
synced 2026-04-23 04:11:18 +00:00
Fix struct sequence glossary entry grammar (GH-9030)
... by removing a superfluous "either".
Reported by Никита Люшненко on docs@.
(cherry picked from commit 98b976a2f8)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
This commit is contained in:
parent
4c532da120
commit
f4c865eda8
1 changed files with 1 additions and 1 deletions
|
|
@ -1012,7 +1012,7 @@ Glossary
|
||||||
|
|
||||||
struct sequence
|
struct sequence
|
||||||
A tuple with named elements. Struct sequences expose an interface similar
|
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
|
index or as an attribute. However, they do not have any of the named tuple
|
||||||
methods like :meth:`~collections.somenamedtuple._make` or
|
methods like :meth:`~collections.somenamedtuple._make` or
|
||||||
:meth:`~collections.somenamedtuple._asdict`. Examples of struct sequences
|
:meth:`~collections.somenamedtuple._asdict`. Examples of struct sequences
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue