[Python-checkins] r47241 - python/trunk/Doc/lib/libfuncs.tex
Raymond Hettinger
python at rcn.com
Wed Jul 5 17:36:09 CEST 2006
> Patch #1517490: fix glitches in filter() docs.
. . .
> - 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
> - (zero or empty) are removed.
> + is a string (either \code{str} or \code{unicode}) 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.
I don't think there is a benefit to going through the docs and elaborating on
"string" as meaning either "str" or "unicode".
Also, in this particular case, the object can also be a subclass of str or
unicode.
Raymond
More information about the Python-checkins
mailing list