Execution issue with PyModule_AddIntConstant function

Posted by karnol on Stack Overflow See other posts from Stack Overflow or by karnol
Published on 2010-05-19T09:36:47Z Indexed on 2010/05/19 9:40 UTC
Read the original article Hit count: 185

Filed under:

I m learning python c api functions and keen to learn python 3.1 stable version. Found an unresolved issue recently and tried

PyModule_AddIntConstant(PyObject *module, const char *name, long value) Runtime error occurred for this function call.

Is there something wrong with the function in python 3.1?

© Stack Overflow or respective owner

Related posts about python