Note that the class objects described here represent old-style classes, whichwill go away in Python 3. When creating new types for extension modules, youwill want to work with type objects (sectionType Objects).
This is the type object for class objects; it is the same object astypes.ClassType in the Python layer.
There are very few functions specific to instance objects.
Create a new instance of a specific class. The parametersarg andkw areused as the positional and keyword parameters to the object’s constructor.
Create a new instance of a specific class without calling its constructor.class is the class of new object. Thedict parameter will be used as theobject’s__dict__; ifNULL, a new dictionary will be created for theinstance.