[Python-checkins] [2.7] Fix struct sequence glossary entry grammar (GH-9030)

Zachary Ware webhook-mailer at python.org
Sat Sep 1 22:18:26 EDT 2018


https://github.com/python/cpython/commit/71f2dadf66c8f9f513bb67f3b06d320c406ac2ff
commit: 71f2dadf66c8f9f513bb67f3b06d320c406ac2ff
branch: 2.7
author: Zachary Ware <zachary.ware at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-09-01T21:18:22-05:00
summary:

[2.7] Fix struct sequence glossary entry grammar (GH-9030)

... by removing a superfluous "either".

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

(cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d)

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 34c71c6f3eee..9e6bf233bbcf 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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



More information about the Python-checkins mailing list