summaryrefslogtreecommitdiff
path: root/Lib/importlib
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2013-02-16 22:23:48 -0700
committerEric Snow <ericsnowcurrently@gmail.com>2013-02-16 22:23:48 -0700
commitdaaa76d95f22f8bb0750454201cbad2314dfc990 (patch)
tree96e7d5f8d89d289fd98d2a234e572c6b27707cae /Lib/importlib
parent1e00e5075f8f34b780e5b4d135095202feeb078d (diff)
downloadcpython-daaa76d95f22f8bb0750454201cbad2314dfc990.tar.gz
Fixes a FileFinder docstring to reflect an old change.
That change was in 1db6553f3f8c.
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/_bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
index 15fe1564f3..7e348a4982 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -1330,8 +1330,8 @@ class FileFinder:
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)