GNU Info

Info Node: (python2.1-api.info)Instance Objects

(python2.1-api.info)Instance Objects


Next: Module Objects Prev: File Objects Up: Other Objects
Enter node , (file) or (file)node

Instance Objects
----------------

There are very few functions specific to instance objects.

`PyTypeObject PyInstance_Type'
     Type object for class instances.

`int PyInstance_Check(PyObject *obj)'
     Returns true if OBJ is an instance.

`PyObject* PyInstance_New(PyObject *class, PyObject *arg, PyObject *kw)'
     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.

`PyObject* PyInstance_NewRaw(PyObject *class, PyObject *dict)'
     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.


automatically generated by info2www version 1.2.2.9