]> 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:43 +0000 (22:13 -0400)
committerGitHub <noreply@github.com>
Sun, 2 Sep 2018 02:13:43 +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 12f88a9d736da920eb3d42f9c1ad353e6faa44db..cf2ca671f26dd7dc9ce70fd5bd6e3c8ee09e5e26 100644 (file)
@@ -1006,7 +1006,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