deimos.python.classobject

Mirror classobject.h

Members

Functions

PyClass_Check
int PyClass_Check(PyObject* op)

Availability: 2.*

PyClass_IsSubclass
int PyClass_IsSubclass(PyObject*, PyObject*)

Availability: 2.*

PyClass_New
PyObject* PyClass_New(PyObject*, PyObject*, PyObject*)

Availability: 2.*

PyInstanceMethod_Check
int PyInstanceMethod_Check(PyObject* op)

Availability: 3.*

PyInstanceMethod_Function
PyObject* PyInstanceMethod_Function(PyObject*)

Availability: 3.*

PyInstanceMethod_GET_FUNCTION
PyObject* PyInstanceMethod_GET_FUNCTION(PyObject* meth)

Macros for direct access to these values. Type checks are *not* done, so use with care. */ /// Availability: 3.

PyInstanceMethod_New
PyObject* PyInstanceMethod_New(PyObject*)

Availability: 3.*

PyInstance_Check
int PyInstance_Check(PyObject* op)

Availability: 2.*

PyInstance_New
PyObject* PyInstance_New(PyObject*, PyObject*, PyObject*)

Availability: 2.*

PyInstance_NewRaw
PyObject* PyInstance_NewRaw(PyObject*, PyObject*)

Availability: 2.*

PyMethod_Check
int PyMethod_Check(PyObject* op)

_

PyMethod_Class
PyObject_BorrowedRef* PyMethod_Class(PyObject*)

Availability: 2.*

PyMethod_ClearFreeList
int PyMethod_ClearFreeList()

Availability: >= 2.6

PyMethod_Function
PyObject_BorrowedRef* PyMethod_Function(PyObject*)

_

PyMethod_GET_CLASS
PyObject_BorrowedRef* PyMethod_GET_CLASS(PyObject* meth)

Availability: 2.*

PyMethod_GET_FUNCTION
PyObject_BorrowedRef* PyMethod_GET_FUNCTION(PyObject* meth)

_

PyMethod_GET_SELF
PyObject_BorrowedRef* PyMethod_GET_SELF(PyObject* meth)

_

PyMethod_New
PyObject* PyMethod_New(PyObject*, PyObject*)

Availability: 3.*

PyMethod_New
PyObject* PyMethod_New(PyObject*, PyObject*, PyObject*)

Availability: 2.*

PyMethod_Self
PyObject_BorrowedRef* PyMethod_Self(PyObject*)

_

_PyInstance_Lookup
PyObject* _PyInstance_Lookup(PyObject* pinst, PyObject* name)

Look up attribute with name (a string) on instance object pinst, using * only the instance and base class dicts. If a descriptor is found in * a class dict, the descriptor is returned without calling it. * Returns NULL if nothing found, else a borrowed reference to the * value associated with name in the dict in which name was found. * The point of this routine is that it never calls arbitrary Python * code, so is always "safe": all it does is dict lookups. The function * can't fail, never sets an exception, and NULL is not an error (it just * means "not found"). */ /// Availability: 2.

Structs

PyClassObject
struct PyClassObject

subclasses PyObject

PyInstanceMethodObject
struct PyInstanceMethodObject

Availability: 3.*

PyInstanceObject
struct PyInstanceObject

subclass of PyObject. Availability: 2.*

PyMethodObject
struct PyMethodObject

subclasses PyObject.

Meta