File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -714,7 +714,7 @@ find and load modules.
714714
715715 The path the finder will search in.
716716
717- .. method :: find_module (fullname)
717+ .. method :: find_loader (fullname)
718718
719719 Attempt to find the loader to handle *fullname * within :attr: `path `.
720720
Original file line number Diff line number Diff line change @@ -1329,12 +1329,12 @@ class FileFinder:
13291329
13301330 """
13311331
1332- def __init__ (self , path , * details ):
1332+ def __init__ (self , path , * loader_details ):
13331333 """Initialize with the path to search on and a variable number of
13341334 2-tuples containing the loader and the file suffixes the loader
13351335 recognizes."""
13361336 loaders = []
1337- for loader , suffixes in details :
1337+ for loader , suffixes in loader_details :
13381338 loaders .extend ((suffix , loader ) for suffix in suffixes )
13391339 self ._loaders = loaders
13401340 # Base (directory) path
You can’t perform that action at this time.
0 commit comments