diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2020-10-05 14:31:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 14:31:44 (GMT) |
commit | 060937da988347a887a5f165b023d972fcb97802 (patch) | |
tree | c1a3765e3f1d4574bc39a15cb731f67381de2162 /Doc/faq/programming.rst | |
parent | dcc54215ac1eb4b6fab2a9ffe1abcdf3ac4bb77e (diff) | |
download | cpython-060937da988347a887a5f165b023d972fcb97802.zip cpython-060937da988347a887a5f165b023d972fcb97802.tar.gz cpython-060937da988347a887a5f165b023d972fcb97802.tar.bz2 |
bpo-41774: Tweak new programming FAQ entry (GH-22562)
Remove mention of space in "remove multiple items from list".
Diffstat (limited to 'Doc/faq/programming.rst')
-rw-r--r-- | Doc/faq/programming.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index 0b486d7..7bcedb0 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? |