PEP 454: second round based on the tracemalloc repository at changeset 21f7c3df0f15

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

View File

@ -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: