bpo-41774: Tweak new programming FAQ entry (GH-22562)

Remove mention of space in "remove multiple items from list".
(cherry picked from commit 060937da98)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Miss Skeleton (bot) 2020-10-05 07:53:26 -07:00 committed by GitHub
parent b6d37e15cf
commit 75dd70e1ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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?