summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-06-16 03:05:21 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2018-06-16 03:05:21 (GMT)
commit9c6fe387e217c43465ec7ffb0197c47d00bafb28 (patch)
tree709d764ecdf8f68bd8b62948f85edb25e35634c3
parent74565aa6d54344d4994c6b81d6fd05a4258283ab (diff)
downloadcpython-9c6fe387e217c43465ec7ffb0197c47d00bafb28.zip
cpython-9c6fe387e217c43465ec7ffb0197c47d00bafb28.tar.gz
cpython-9c6fe387e217c43465ec7ffb0197c47d00bafb28.tar.bz2
Improve the grammar in the glossary item for `list` (GH-7727)
" ... access to elements is O(1)." (cherry picked from commit 7469ff5017ec315a81e35913f19a32f0dbdf712e) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
-rw-r--r--Doc/glossary.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 6dbf0c3..ace6419 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -636,7 +636,7 @@ Glossary
list
A built-in Python :term:`sequence`. Despite its name it is more akin
to an array in other languages than to a linked list since access to
- elements are O(1).
+ elements is O(1).
list comprehension
A compact way to process all or part of the elements in a sequence and