Kaydet (Commit) 5df9f825 authored tarafından Eric Snow's avatar Eric Snow

Merge from 3.3

......@@ -1352,8 +1352,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment