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:
parent
ba7970fd0a
commit
18793e1f60
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue