From: Terry Jan Reedy Date: Mon, 5 Oct 2020 14:31:44 +0000 (-0400) Subject: bpo-41774: Tweak new programming FAQ entry (GH-22562) X-Git-Tag: v3.10.0a1~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=060937da988347a887a5f165b023d972fcb97802;p=thirdparty%2FPython%2Fcpython.git bpo-41774: Tweak new programming FAQ entry (GH-22562) Remove mention of space in "remove multiple items from list". --- diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index 0b486d7e7e25..7bcedb0b5d75 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -1176,7 +1176,7 @@ Here are three variations.:: mylist[:] = (x for x in mylist if keep_condition) mylist[:] = [x for x in mylist if keep_condition] -If space is not an issue, the list comprehension may be fastest. +The list comprehension may be fastest. How do you make an array in Python?