[Python-checkins] cpython (3.3): Fixes a FileFinder docstring to reflect an old change.
eric.snow
python-checkins at python.org
Sun Feb 17 06:27:42 CET 2013
http://hg.python.org/cpython/rev/0f65bf6063ca
changeset: 82236:0f65bf6063ca
branch: 3.3
parent: 82228:8f9b628593db
user: Eric Snow <ericsnowcurrently at gmail.com>
date: Sat Feb 16 22:23:48 2013 -0700
summary:
Fixes a FileFinder docstring to reflect an old change.
That change was in 1db6553f3f8c.
files:
Lib/importlib/_bootstrap.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -1330,8 +1330,8 @@
def __init__(self, path, *details):
"""Initialize with the path to search on and a variable number of
- 3-tuples containing the loader, file suffixes the loader recognizes,
- and a boolean of whether the loader handles packages."""
+ 2-tuples containing the loader and the file suffixes the loader
+ recognizes."""
loaders = []
for loader, suffixes in details:
loaders.extend((suffix, loader) for suffix in suffixes)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list