Commit f19c1910 authored by Brett Cannon's avatar Brett Cannon

Jython-friendly tweak.

parent 2657df47
......@@ -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 ##################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment