bpo-41774: Tweak new programming FAQ entry (GH-22562)
Remove mention of space in "remove multiple items from list".
This commit is contained in:
parent
dcc54215ac
commit
060937da98
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue