#
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

- 10.1 Common Object Structures
- 10.2 Mapping Object Structures
- 10.3 Number Object Structures
- 10.4 Sequence Object Structures
- 10.5 Buffer Object Structures