diff Lib/importlib/_bootstrap.py @ 84174:e13371d5b4e4 3.3

Fix a misnaming of a method and an argument
author Brett Cannon <brett@python.org>
date Sun, 16 Jun 2013 19:06:55 -0400
parents ac89e7bc0e2f
children b8028f74bac4 03ad17618ac4
line wrap: on
line diff
--- a/Lib/importlib/_bootstrap.py	Sat Jun 15 13:37:12 2013 -0400
+++ b/Lib/importlib/_bootstrap.py	Sun Jun 16 19:06:55 2013 -0400
@@ -1329,12 +1329,12 @@
 
     """
 
-    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