summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-16 23:06:55 (GMT)
committerBrett Cannon <brett@python.org>2013-06-16 23:06:55 (GMT)
commit1d75382e81cb6f0cb22249e355cf0404102268ab (patch)
tree2da4be753c45bcbc16ec18d249f12877317cc5d1 /Lib
parent27bbfdbc4c85011b2bd7f21d3fe3b5e8c2d8b725 (diff)
downloadcpython-1d75382e81cb6f0cb22249e355cf0404102268ab.zip
cpython-1d75382e81cb6f0cb22249e355cf0404102268ab.tar.gz
cpython-1d75382e81cb6f0cb22249e355cf0404102268ab.tar.bz2
Fix a misnaming of a method and an argument
Diffstat (limited to 'Lib')
-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 08d5eb4..ed4ec51 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -1329,12 +1329,12 @@ class FileFinder:
"""
- def __init__(self, path, *details):
+ def __init__(self, path, *loader_details):
"""Initialize with the path to search on and a variable number of
2-tuples containing the loader and the file suffixes the loader
recognizes."""
loaders = []
- for loader, suffixes in details:
+ for loader, suffixes in loader_details:
loaders.extend((suffix, loader) for suffix in suffixes)
self._loaders = loaders
# Base (directory) path