PEP 454: second round based on the tracemalloc repository at changeset 21f7c3df0f15
This commit is contained in:
parent
f22ec5e96f
commit
f5dbc76dd3
|
@ -346,13 +346,13 @@ Snapshot class
|
|||
|
||||
Example: ``[('Video memory', 'size', 234902)]``.
|
||||
|
||||
``filter_filenames(patterns: list, include: bool)`` method:
|
||||
``filter_filenames(include: bool, patterns: list)`` method:
|
||||
|
||||
Remove filenames not matching any pattern of *patterns* if *include*
|
||||
is ``True``, or remove filenames matching a pattern of *patterns* if
|
||||
*include* is ``False`` (exclude).
|
||||
|
||||
See ``fnmatch.fnmatch()`` for the syntax of a pattern.
|
||||
See ``add_filter()`` for the syntax of a pattern.
|
||||
|
||||
``load(filename)`` classmethod:
|
||||
|
||||
|
|
Loading…
Reference in New Issue