]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix struct sequence glossary entry grammar (GH-9030)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 2 Sep 2018 02:13:34 +0000 (22:13 -0400)
committerGitHub <noreply@github.com>
Sun, 2 Sep 2018 02:13:34 +0000 (22:13 -0400)
... by removing a superfluous "either".

Reported by Никита Люшненко on docs@.
(cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d)

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
Doc/glossary.rst

index 69960579f2c04f97c49dab3f6e5b92438510c02d..16fc7f0783c8cbc94b7574ffae35aa4d6381ad49 100644 (file)
@@ -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