diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2018-09-02 02:18:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-02 02:18:22 (GMT) |
commit | 71f2dadf66c8f9f513bb67f3b06d320c406ac2ff (patch) | |
tree | 374d0fad2fe5bf00f5dd686a103a30a446c40f2e | |
parent | 5d594f3106aff6cea00234c88051427ae511cdd8 (diff) | |
download | cpython-71f2dadf66c8f9f513bb67f3b06d320c406ac2ff.zip cpython-71f2dadf66c8f9f513bb67f3b06d320c406ac2ff.tar.gz cpython-71f2dadf66c8f9f513bb67f3b06d320c406ac2ff.tar.bz2 |
[2.7] Fix struct sequence glossary entry grammar (GH-9030)
... by removing a superfluous "either".
Reported by Никита Люшненко on docs@
(cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d)
-rw-r--r-- | Doc/glossary.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 34c71c6..9e6bf23 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 |