summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-05 14:42:10 (GMT)
committerGitHub <noreply@github.com>2020-10-05 14:42:10 (GMT)
commit7e941fa8e0454c7814ce3ec646136758c0db5a25 (patch)
treef4de5cba235d1406c6446729e9e81f4c966409dc /Doc
parenta859680a5bef0bced197454f4b67080694979252 (diff)
downloadcpython-7e941fa8e0454c7814ce3ec646136758c0db5a25.zip
cpython-7e941fa8e0454c7814ce3ec646136758c0db5a25.tar.gz
cpython-7e941fa8e0454c7814ce3ec646136758c0db5a25.tar.bz2
bpo-41774: Tweak new programming FAQ entry (GH-22562)
Remove mention of space in "remove multiple items from list". (cherry picked from commit 060937da988347a887a5f165b023d972fcb97802) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/faq/programming.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index 1af0448..a64e8ac 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -1175,7 +1175,7 @@ Here are three variations.::
mylist[:] = (x for x in mylist if keep_condition)
mylist[:] = [x for x in mylist if keep_condition]
-If space is not an issue, the list comprehension may be fastest.
+The list comprehension may be fastest.
How do you make an array in Python?