[Python-checkins] CVS: python/dist/src/Doc/lib libfnmatch.tex,1.17,1.18

Martin v. L?wis loewis@users.sourceforge.net
Thu, 07 Jun 2001 12:01:26 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv4830

Modified Files:
	libfnmatch.tex 
Log Message:
Document filter.


Index: libfnmatch.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfnmatch.tex,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** libfnmatch.tex	2000/10/09 18:12:29	1.17
--- libfnmatch.tex	2001/06/07 19:01:24	1.18
***************
*** 44,47 ****
--- 44,52 ----
  \end{funcdesc}
  
+ \begin{funcdesc}{filter}{names, pattern}
+ Return the subset of the list of \var{names} that match \var{pattern}.
+ It is the same as \code{[n for n in names if fnmatch(n, pattern)]}, but
+ implemented more efficiently.
+ \end{funcdesc}
  
  \begin{seealso}