We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84ea11 commit 7928a97Copy full SHA for 7928a97
Doc/faq/programming.rst
@@ -1232,7 +1232,7 @@ How do you remove multiple items from a list
1232
As with removing duplicates, explicitly iterating in reverse with a
1233
delete condition is one possibility. However, it is easier and faster
1234
to use slice replacement with an implicit or explicit forward iteration.
1235
-Here are three variations.::
+Here are three variations::
1236
1237
mylist[:] = filter(keep_function, mylist)
1238
mylist[:] = (x for x in mylist if keep_condition)
0 commit comments