diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-06-15 20:00:36 -0700 |
|---|---|---|
| committer | Mariatta <Mariatta@users.noreply.github.com> | 2018-06-15 20:00:36 -0700 |
| commit | 18793e1f60054a77cdff6625d9e3bdfa36b51439 (patch) | |
| tree | 4bfae2130b10eee80f49693a2177d1fbfbfb995e | |
| parent | ba7970fd0aa145975a7651806f826c4c1b33c066 (diff) | |
| download | cpython-git-18793e1f60054a77cdff6625d9e3bdfa36b51439.tar.gz | |
Improve the grammar in the glossary item for `list`
" ... access to elements is O(1)."
(cherry picked from commit 7469ff5017ec315a81e35913f19a32f0dbdf712e)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
| -rw-r--r-- | Doc/glossary.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 988842aefc..0f658b8c7e 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -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 |
