]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Improve the grammar in the glossary item for `list`
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Jun 2018 03:00:36 +0000 (20:00 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 16 Jun 2018 03:00:36 +0000 (20:00 -0700)
" ... access to elements is O(1)."

(cherry picked from commit 7469ff5017ec315a81e35913f19a32f0dbdf712e)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/glossary.rst

index 988842aefc0d67e1f3f23bcf290810e25b4c4bb9..0f658b8c7e7619e0f92676d8022449284bb263c0 100644 (file)
@@ -642,7 +642,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