PyXR

c:\python24\lib \ new.py



0001 """Create new objects of various types.  Deprecated.
0002 
0003 This module is no longer required except for backward compatibility.
0004 Objects of most types can now be created by calling the type object.
0005 """
0006 
0007 from types import ClassType as classobj
0008 from types import FunctionType as function
0009 from types import InstanceType as instance
0010 from types import MethodType as instancemethod
0011 from types import ModuleType as module
0012 
0013 # CodeType is not accessible in restricted execution mode
0014 try:
0015     from types import CodeType as code
0016 except ImportError:
0017     pass
0018 

Generated by PyXR 0.9.4
SourceForge.net Logo