Jython-friendly tweak.
This commit is contained in:
parent
2657df4744
commit
f19c191067
|
@ -156,7 +156,7 @@ def new_module(name):
|
|||
The module is not entered into sys.modules.
|
||||
|
||||
"""
|
||||
return type(sys)(name)
|
||||
return type(_io)(name)
|
||||
|
||||
|
||||
# Finder/loader utility code ##################################################
|
||||
|
|
Loading…
Reference in New Issue