Back to index

python3.2  3.2.2
Classes | Defines | Functions
classobject.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  PyMethodObject
struct  PyInstanceMethodObject


#define PyMethod_Check(op)   ((op)->ob_type == &PyMethod_Type)
#define PyMethod_GET_FUNCTION(meth)   (((PyMethodObject *)meth) -> im_func)
#define PyMethod_GET_SELF(meth)   (((PyMethodObject *)meth) -> im_self)
#define PyInstanceMethod_Check(op)   ((op)->ob_type == &PyInstanceMethod_Type)
#define PyInstanceMethod_GET_FUNCTION(meth)   (((PyInstanceMethodObject *)meth) -> func)


 PyAPI_DATA (PyTypeObject) PyMethod_Type
 PyAPI_FUNC (PyObject *) PyMethod_New(PyObject *
 PyAPI_FUNC (int) PyMethod_ClearFreeList(void)

Class Documentation

struct PyMethodObject

Definition at line 12 of file classobject.h.

Collaboration diagram for PyMethodObject:
Class Members
PyObject_HEAD PyObject * im_func
PyObject * im_self
PyObject * im_weakreflist
struct PyInstanceMethodObject

Definition at line 37 of file classobject.h.

Collaboration diagram for PyInstanceMethodObject:
Class Members
PyObject_HEAD PyObject * func

Define Documentation

#define PyInstanceMethod_Check (   op)    ((op)->ob_type == &PyInstanceMethod_Type)

Definition at line 44 of file classobject.h.

#define PyInstanceMethod_GET_FUNCTION (   meth)    (((PyInstanceMethodObject *)meth) -> func)

Definition at line 51 of file classobject.h.

#define PyMethod_Check (   op)    ((op)->ob_type == &PyMethod_Type)

Definition at line 21 of file classobject.h.

#define PyMethod_GET_FUNCTION (   meth)    (((PyMethodObject *)meth) -> im_func)

Definition at line 30 of file classobject.h.

#define PyMethod_GET_SELF (   meth)    (((PyMethodObject *)meth) -> im_self)

Definition at line 32 of file classobject.h.

Function Documentation

PyAPI_FUNC ( PyObject ) [read]

Definition at line 2431 of file pythonrun.c.

    return PyRun_FileExFlags(fp, p, s, g, l, c, NULL);
PyAPI_FUNC ( int  ) [read]

Definition at line 2410 of file pythonrun.c.