10. Defining New Object Types

PyObject* _PyObject_New (PyTypeObject *type)
Return value: New reference.

PyObject* _PyObject_NewVar (PyTypeObject *type, int size)
Return value: New reference.

TYPE _PyObject_NEW (TYPE, PyTypeObject *type)

TYPE _PyObject_NEW_VAR (TYPE, PyTypeObject *type, int size)

Py_InitModule (!!!)

PyArg_ParseTupleAndKeywords, PyArg_ParseTuple, PyArg_Parse

Py_BuildValue

DL_IMPORT

Py*_Check

_Py_NoneStruct



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