summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2020-10-05 14:31:44 (GMT)
committerGitHub <noreply@github.com>2020-10-05 14:31:44 (GMT)
commit060937da988347a887a5f165b023d972fcb97802 (patch)
treec1a3765e3f1d4574bc39a15cb731f67381de2162
parentdcc54215ac1eb4b6fab2a9ffe1abcdf3ac4bb77e (diff)
downloadcpython-060937da988347a887a5f165b023d972fcb97802.zip
cpython-060937da988347a887a5f165b023d972fcb97802.tar.gz
cpython-060937da988347a887a5f165b023d972fcb97802.tar.bz2
bpo-41774: Tweak new programming FAQ entry (GH-22562)
Remove mention of space in "remove multiple items from list".
-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 0b486d7..7bcedb0 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -1176,7 +1176,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?