]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
no need to elaborate "string".
authorGeorg Brandl <georg@python.org>
Wed, 5 Jul 2006 15:50:08 +0000 (15:50 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 5 Jul 2006 15:50:08 +0000 (15:50 +0000)
 (backport from rev. 47244)

Doc/lib/libfuncs.tex

index 310b4ea626fe4e6d6d729d138b71b4e1e84dacd3..55cd2950c7a77d07874e8ad49a777c64f9a9557a 100644 (file)
@@ -432,7 +432,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.