7.5.2 Instance Objects

Python 2.4

7.5.2 Instance Objects

There are very few functions specific to instance objects.

Type object for class instances.

Returns true if obj is an instance.

Return value: New reference.
Create a new instance of a specific class. The parameters arg and kw are used as the positional and keyword parameters to the object's constructor.

Return value: New reference.
Create a new instance of a specific class without calling it's constructor. class is the class of new object. The dict parameter will be used as the object's __dict__; if NULL, a new dictionary will be created for the instance.

See About this document... for information on suggesting changes.