]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[2.7] Fix struct sequence glossary entry grammar (GH-9030)
authorZachary Ware <zachary.ware@gmail.com>
Sun, 2 Sep 2018 02:18:22 +0000 (21:18 -0500)
committerGitHub <noreply@github.com>
Sun, 2 Sep 2018 02:18:22 +0000 (21:18 -0500)
... by removing a superfluous "either".

Reported by Никита Люшненко on docs@

(cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d)

Doc/glossary.rst

index 34c71c6f3eee58d36778686780ca2285940279e7..9e6bf233bbcf4f9cd800f71073d00fe1ffd11a6d 100644 (file)
@@ -710,7 +710,7 @@ Glossary
 
    struct sequence
       A tuple with named elements. Struct sequences expose an interface similiar
-      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