Backed out changeset a44f3d00895d

This commit is contained in:
Victor Stinner 2013-09-17 01:38:27 +02:00
parent f5dbc76dd3
commit 2b83b4a265
1 changed files with 2 additions and 2 deletions

View File

@ -346,13 +346,13 @@ Snapshot class
Example: ``[('Video memory', 'size', 234902)]``. Example: ``[('Video memory', 'size', 234902)]``.
``filter_filenames(include: bool, patterns: list)`` method: ``filter_filenames(patterns: list, include: bool)`` method:
Remove filenames not matching any pattern of *patterns* if *include* Remove filenames not matching any pattern of *patterns* if *include*
is ``True``, or remove filenames matching a pattern of *patterns* if is ``True``, or remove filenames matching a pattern of *patterns* if
*include* is ``False`` (exclude). *include* is ``False`` (exclude).
See ``add_filter()`` for the syntax of a pattern. See ``fnmatch.fnmatch()`` for the syntax of a pattern.
``load(filename)`` classmethod: ``load(filename)`` classmethod: