Improve the grammar in the glossary item for `list`

" ... access to elements is O(1)."

(cherry picked from commit 7469ff5017)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-06-15 20:00:36 -07:00 committed by Mariatta
parent ba7970fd0a
commit 18793e1f60
1 changed files with 1 additions and 1 deletions

View 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