]> git.ipfire.org Git - thirdparty/Python/cpython.git/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 02:53:58 +0000 (19:53 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 16 Jun 2018 02:53:58 +0000 (19:53 -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 92d6cc772f3fceb28aa45ffc43abedf745586f53..4413221de7811ab996ecc3b8a0a6afca9d4f5220 100644 (file)
@@ -474,7 +474,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