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

Remove mention of space in "remove multiple items from list".
This commit is contained in:
Terry Jan Reedy 2020-10-05 10:31:44 -04:00 committed by GitHub
parent dcc54215ac
commit 060937da98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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?