diff options
Diffstat (limited to 'Lib/new.py')
-rw-r--r-- | Lib/new.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |