Backed out changeset a44f3d00895d
This commit is contained in:
parent
f5dbc76dd3
commit
2b83b4a265
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue