9. Defining New Object Types

PyObject* _PyObject_New (PyTypeObject *type)

PyObject* _PyObject_NewVar (PyTypeObject *type, int size)

TYPE _PyObject_NEW (TYPE, PyTypeObject *)

TYPE _PyObject_NEW_VAR (TYPE, PyTypeObject *, int size)

Py_InitModule (!!!)

PyArg_ParseTupleAndKeywords, PyArg_ParseTuple, PyArg_Parse

Py_BuildValue

PyObject, PyVarObject

PyObject_HEAD, PyObject_HEAD_INIT, PyObject_VAR_HEAD

Typedefs: unaryfunc, binaryfunc, ternaryfunc, inquiry, coercion, intargfunc, intintargfunc, intobjargproc, intintobjargproc, objobjargproc, getreadbufferproc, getwritebufferproc, getsegcountproc, destructor, printfunc, getattrfunc, getattrofunc, setattrfunc, setattrofunc, cmpfunc, reprfunc, hashfunc

PyNumberMethods

PySequenceMethods

PyMappingMethods

PyBufferProcs

PyTypeObject

DL_IMPORT

PyType_Type

Py*_Check

Py_None, _Py_NoneStruct


Send comments on this document to python-docs@python.org.


Banner.Novgorod.Ru