From f19c19106704f01b75b8e3e678f27a9b543aad74 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 4 May 2012 15:46:04 -0400 Subject: Jython-friendly tweak. --- Lib/importlib/_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index 1b487ef..4eab318 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -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 ################################################## -- cgit v0.12