diff options
Diffstat (limited to 'Lib/new.py')
| -rw-r--r-- | Lib/new.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/new.py b/Lib/new.py index 5559f6e9a1..e6079c2bb2 100644 --- a/Lib/new.py +++ b/Lib/new.py @@ -4,7 +4,7 @@ This module is no longer required except for backward compatibility. Objects of most types can now be created by calling the type object. """ -from types import ClassType as classobj +classobj = type from types import FunctionType as function from types import MethodType as instancemethod from types import ModuleType as module |
