]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41774: Tweak new programming FAQ entry (GH-22562)
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 5 Oct 2020 14:31:44 +0000 (10:31 -0400)
committerGitHub <noreply@github.com>
Mon, 5 Oct 2020 14:31:44 +0000 (10:31 -0400)
Remove mention of space in "remove multiple items from list".

Doc/faq/programming.rst

index 0b486d7e7e254acc8994fc58042f32372c18774e..7bcedb0b5d75b46cba7c6da9470bad31cd81838e 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?