From f5dbc76dd3e01b07a968ed7e7a5e0ee199d6d245 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 17 Sep 2013 01:37:36 +0200 Subject: [PATCH] PEP 454: second round based on the tracemalloc repository at changeset 21f7c3df0f15 --- pep-0454.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0454.txt b/pep-0454.txt index abe6aa272..244c75a72 100644 --- a/pep-0454.txt +++ b/pep-0454.txt @@ -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: