mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue