Skip to content

Commit 7e941fa

Browse files
bpo-41774: Tweak new programming FAQ entry (GH-22562)
Remove mention of space in "remove multiple items from list". (cherry picked from commit 060937d) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent a859680 commit 7e941fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/faq/programming.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ Here are three variations.::
11751175
mylist[:] = (x for x in mylist if keep_condition)
11761176
mylist[:] = [x for x in mylist if keep_condition]
11771177

1178-
If space is not an issue, the list comprehension may be fastest.
1178+
The list comprehension may be fastest.
11791179

11801180

11811181
How do you make an array in Python?

0 commit comments

Comments
 (0)