#include "parts.h" #include "util.h" static PyObject * object_getoptionalattr(PyObject *self, PyObject *args) { … } static PyObject * object_getoptionalattrstring(PyObject *self, PyObject *args) { … } static PyObject * object_hasattrwitherror(PyObject *self, PyObject *args) { … } static PyObject * object_hasattrstringwitherror(PyObject *self, PyObject *args) { … } static PyObject * mapping_getoptionalitemstring(PyObject *self, PyObject *args) { … } static PyObject * mapping_getoptionalitem(PyObject *self, PyObject *args) { … } static PyObject * pyiter_next(PyObject *self, PyObject *iter) { … } static PyObject * pyiter_nextitem(PyObject *self, PyObject *iter) { … } static PyMethodDef test_methods[] = …; int _PyTestCapi_Init_Abstract(PyObject *m) { … }