diff options
author | Marc-Andre Lemburg <mal@egenix.com> | 2012-04-24 23:36:48 (GMT) |
---|---|---|
committer | Marc-Andre Lemburg <mal@egenix.com> | 2012-04-24 23:36:48 (GMT) |
commit | 2945e78b05b8629969764842f73a845c1cbb2fb9 (patch) | |
tree | 968c259c2d1cdc2610bd4397b5d2469f3599bce1 /Lib/importlib/_bootstrap.py | |
parent | a5798ded26e3ad67946b7d8150a8e13b0075fbf8 (diff) | |
download | cpython-2945e78b05b8629969764842f73a845c1cbb2fb9.zip cpython-2945e78b05b8629969764842f73a845c1cbb2fb9.tar.gz cpython-2945e78b05b8629969764842f73a845c1cbb2fb9.tar.bz2 |
Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
-rw-r--r-- | Lib/importlib/_bootstrap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index d9df2b7..817fe39 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -671,7 +671,7 @@ class SourceFileLoader(FileLoader, SourceLoader): pass -class _SourcelessFileLoader(FileLoader, _LoaderBasics): +class SourcelessFileLoader(FileLoader, _LoaderBasics): """Loader which handles sourceless file imports.""" @@ -1198,7 +1198,7 @@ def _setup(sys_module, _imp_module): supported_loaders = [(ExtensionFileLoader, _suffix_list(3), False), (SourceFileLoader, _suffix_list(1), True), - (_SourcelessFileLoader, _suffix_list(2), True)] + (SourcelessFileLoader, _suffix_list(2), True)] setattr(self_module, '_DEFAULT_PATH_HOOK', FileFinder.path_hook(*supported_loaders)) |