Mercurial > cpython-lru_cache-weakref
diff Lib/importlib/_bootstrap.py @ 76755:c6a97506b2ee
Jython-friendly tweak.
| author | Brett Cannon <brett@python.org> |
|---|---|
| date | Fri, 04 May 2012 15:46:04 -0400 |
| parents | 257cbd2fac38 |
| children | 146001e3364d |
line wrap: on
line diff
--- a/Lib/importlib/_bootstrap.py Fri May 04 15:20:40 2012 -0400 +++ b/Lib/importlib/_bootstrap.py Fri May 04 15:46:04 2012 -0400 @@ -156,7 +156,7 @@ The module is not entered into sys.modules. """ - return type(sys)(name) + return type(_io)(name) # Finder/loader utility code ##################################################
