mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
no need to elaborate "string".
This commit is contained in:
parent
f41beacecb
commit
d41f4ce0c8
1 changed files with 1 additions and 1 deletions
|
|
@ -468,7 +468,7 @@ class C:
|
|||
Construct a list from those elements of \var{list} for which
|
||||
\var{function} returns true. \var{list} may be either a sequence, a
|
||||
container which supports iteration, or an iterator, If \var{list}
|
||||
is a string (either \code{str} or \code{unicode}) or a tuple, the result
|
||||
is a string or a tuple, the result
|
||||
also has that type; otherwise it is always a list. If \var{function} is
|
||||
\code{None}, the identity function is assumed, that is, all elements of
|
||||
\var{list} that are false are removed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue