]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41774: Tweak new programming FAQ entry (GH-22562)
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 5 Oct 2020 14:53:26 +0000 (07:53 -0700)
committerGitHub <noreply@github.com>
Mon, 5 Oct 2020 14:53:26 +0000 (07:53 -0700)
Remove mention of space in "remove multiple items from list".
(cherry picked from commit 060937da988347a887a5f165b023d972fcb97802)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/faq/programming.rst

index 1435765063f73930b44f5d6a379838785656e6b2..7c6fc51c6b6ebbe93de0a5a73b25eb9c932b334e 100644 (file)
@@ -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?