From: Zachary Ware Date: Sun, 2 Sep 2018 02:18:22 +0000 (-0500) Subject: [2.7] Fix struct sequence glossary entry grammar (GH-9030) X-Git-Tag: v2.7.16rc1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71f2dadf66c8f9f513bb67f3b06d320c406ac2ff;p=thirdparty%2FPython%2Fcpython.git [2.7] Fix struct sequence glossary entry grammar (GH-9030) ... by removing a superfluous "either". Reported by Никита Люшненко on docs@ (cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d) --- 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