Merge from 3.5
This commit is contained in:
commit
52c854a838
|
@ -1306,7 +1306,7 @@ an :term:`importer`.
|
|||
suffixes = importlib.machinery.SOURCE_SUFFIXES
|
||||
loader = importlib.machinery.SourceFileLoader
|
||||
lazy_loader = importlib.util.LazyLoader.factory(loader)
|
||||
finder = importlib.machinery.FileFinder(path, [(lazy_loader, suffixes)])
|
||||
finder = importlib.machinery.FileFinder(path, (lazy_loader, suffixes))
|
||||
|
||||
.. _importlib-examples:
|
||||
|
||||
|
|
Loading…
Reference in New Issue