How can I parse False from c extension?

Allen Allen.Chenal at
Tue Jun 12 10:07:13 CEST 2007

>From python command, I call C extension method
>>> import PyRPC
>>> PyRPC.addBool(False)

In C extension, I know parse integer value like this:
PyArg_ParseTuple(args, "i", &nValue);

But, how can I parse the False value?

Allen Chen

More information about the Python-list mailing list