summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2018-09-02 01:59:27 (GMT)
committerGitHub <noreply@github.com>2018-09-02 01:59:27 (GMT)
commit98b976a2f82ba5f50cf6846338f644ca6c64f47d (patch)
tree373b6c7fbb06245535a4b4dec8b65546eec3e646
parent2d7102e726e973ab2d307aa9748c7ec433677877 (diff)
downloadcpython-98b976a2f82ba5f50cf6846338f644ca6c64f47d.zip
cpython-98b976a2f82ba5f50cf6846338f644ca6c64f47d.tar.gz
cpython-98b976a2f82ba5f50cf6846338f644ca6c64f47d.tar.bz2
Fix struct sequence glossary entry grammar (GH-9030)
... by removing a superfluous "either". Reported by Никита Люшненко on docs@.
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 6996057..16fc7f0 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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