Commit 52c854a8 authored by Brett Cannon's avatar Brett Cannon

Merge from 3.5

parents bf980797 3bf1d87b
......@@ -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:
......
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