8000 bpo-41774: Tweak new programming FAQ entry (GH-22562) · python/cpython@75dd70e · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 75dd70e

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 <tjreedy@udel.edu>
1 parent b6d37e1 commit 75dd70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ Here are three variations.::
11761176
mylist[:] = (x for x in mylist if keep_condition)
11771177
mylist[:] = [x for x in mylist if keep_condition]
11781178

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

11811181

11821182
How do you make an array in Python?

0 commit comments

Comments
 (0)
0