En Tue, 12 Jun 2007 05:07:13 -0300, Allen <[EMAIL PROTECTED]> escribió:
>> 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? Parse them as integers, with False==0 and True==1. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list