]> granicus.if.org Git - python/commitdiff
Improve the grammar in the glossary item for `list` (GH-7727)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Jun 2018 03:05:21 +0000 (20:05 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 16 Jun 2018 03:05:21 +0000 (20:05 -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 6dbf0c398ddb0ba94a5dd03f0c3040fc260f4136..ace6419d11c6f1c1fd8dec7ab22aa0359bda821e 100644 (file)
@@ -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