diff options
Diffstat (limited to 'Lib/new.py')
-rw-r--r-- | Lib/new.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/new.py b/Lib/new.py index bee11ed38e..5559f6e9a1 100644 --- a/Lib/new.py +++ b/Lib/new.py @@ -8,9 +8,4 @@ from types import ClassType as classobj from types import FunctionType as function from types import MethodType as instancemethod from types import ModuleType as module - -# CodeType is not accessible in restricted execution mode -try: - from types import CodeType as code -except ImportError: - pass +from types import CodeType as code |