Mercurial > cpython-lru_cache-weakref
diff Lib/importlib/_bootstrap.py @ 87353:c8a84eed9155
Remove a commented-out line
| author | Brett Cannon <brett@python.org> |
|---|---|
| date | Fri, 22 Nov 2013 12:07:43 -0500 |
| parents | 2bea86df60b9 |
| children | 2e4169aac667 |
line wrap: on
line diff
--- a/Lib/importlib/_bootstrap.py Fri Nov 22 18:05:06 2013 +0100 +++ b/Lib/importlib/_bootstrap.py Fri Nov 22 12:07:43 2013 -0500 @@ -826,8 +826,6 @@ def spec_from_loader(name, loader, *, origin=None, is_package=None): """Return a module spec based on various loader methods.""" - -# if hasattr(loader, 'get_data'): if hasattr(loader, 'get_filename'): if is_package is None: return spec_from_file_location(name, loader=loader)
