P
Patrick Stinson
Cheerseating an C extension module that returns one of my C-defined python
classes from a factory function. is it correct to simple have the factory
function allocate and init the object by calling the functions I defined and
set as tp_new and tp_init in the PyTypeObject? If not am I supposed to use
PyObject_New and PyObject_Init or something?
Cherrs,
-P
classes from a factory function. is it correct to simple have the factory
function allocate and init the object by calling the functions I defined and
set as tp_new and tp_init in the PyTypeObject? If not am I supposed to use
PyObject_New and PyObject_Init or something?
Cherrs,
-P