Skip to content

Commit 7928a97

Browse files
committed
Programming FAQ: fix a punctuaction typo
1 parent f84ea11 commit 7928a97

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
@@ -1232,7 +1232,7 @@ How do you remove multiple items from a list
12321232
As with removing duplicates, explicitly iterating in reverse with a
12331233
delete condition is one possibility. However, it is easier and faster
12341234
to use slice replacement with an implicit or explicit forward iteration.
1235-
Here are three variations.::
1235+
Here are three variations::
12361236

12371237
mylist[:] = filter(keep_function, mylist)
12381238
mylist[:] = (x for x in mylist if keep_condition)

0 commit comments

Comments
 (0)