Mailing List Archive

Improve the grammar in the glossary item for `list` (GH-7727)
https://github.com/python/cpython/commit/bb3b3655881c071b62f5c2d87b88b769bcad10ad
commit: bb3b3655881c071b62f5c2d87b88b769bcad10ad
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
committer: Mariatta <Mariatta@users.noreply.github.com>
date: 2018-06-15T19:53:58-07:00
summary:

Improve the grammar in the glossary item for `list` (GH-7727)

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

(cherry picked from commit 7469ff5017ec315a81e35913f19a32f0dbdf712e)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 92d6cc772f3f..4413221de781 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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

_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins
Improve the grammar in the glossary item for `list` (GH-7727) [ In reply to ]
https://github.com/python/cpython/commit/9c6fe387e217c43465ec7ffb0197c47d00bafb28
commit: 9c6fe387e217c43465ec7ffb0197c47d00bafb28
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
committer: Mariatta <Mariatta@users.noreply.github.com>
date: 2018-06-15T20:05:21-07:00
summary:

Improve the grammar in the glossary item for `list` (GH-7727)

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

(cherry picked from commit 7469ff5017ec315a81e35913f19a32f0dbdf712e)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>

files:
M Doc/glossary.rst

diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 6dbf0c398ddb..ace6419d11c6 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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

_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins