Doc question
Arinté
shouldbe at message.com
Fri Jul 7 09:56:52 EDT 2000
The docs say this about PyArg_ParseTuple objects
"O" (object) [PyObject *]
Store a Python object (without any conversion) in a C object pointer. The C
program thus receives the actual object that was passed. The object's
reference count is not increased. The pointer stored is not NULL.
So, I don't need to do a Py_XDECREF on this unless I need to keep it, and in
that case I need to do a Incref first. Correct.
I am having a lot of bad experiences on embedding, and I just want to
confirm stuff. I wish I was working on this stuff exclusively.
More information about the Python-list
mailing list