mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08: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:
committed by
GitHub
parent
4c532da120
commit
f4c865eda8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user