]> granicus.if.org Git - python/commitdiff
Fixes a FileFinder docstring to reflect an old change.
authorEric Snow <ericsnowcurrently@gmail.com>
Sun, 17 Feb 2013 05:23:48 +0000 (22:23 -0700)
committerEric Snow <ericsnowcurrently@gmail.com>
Sun, 17 Feb 2013 05:23:48 +0000 (22:23 -0700)
That change was in 1db6553f3f8c.

Lib/importlib/_bootstrap.py

index 15fe1564f3242ebc5f62dce6bc5c6e53c27e55da..7e348a4982dd50cf7e1fd8187a0c60faa53b57cf 100644 (file)
@@ -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)