Jython-friendly tweak.

This commit is contained in:
Brett Cannon 2012-05-04 15:46:04 -04:00
parent 2657df4744
commit f19c191067
1 changed files with 1 additions and 1 deletions

View File

@ -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 ##################################################