summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2013-02-17 05:23:48 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2013-02-17 05:23:48 (GMT)
commit5b49962f7e38a3c02db583a306fb717ae2b2b3c5 (patch)
tree4b41c201833d20f8237f5632e757e9603107aba0 /Lib/importlib
parentb0c75a7dec2ae9d514ac8df63a4822215e486e1f (diff)
downloadcpython-5b49962f7e38a3c02db583a306fb717ae2b2b3c5.zip
cpython-5b49962f7e38a3c02db583a306fb717ae2b2b3c5.tar.gz
cpython-5b49962f7e38a3c02db583a306fb717ae2b2b3c5.tar.bz2
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 15fe156..7e348a4 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)