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

Skip to content

Commit 060937d

Browse files
authored
bpo-41774: Tweak new programming FAQ entry (GH-22562)
Remove mention of space in "remove multiple items from list".
1 parent dcc5421 commit 060937d

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