Parsing tuples in C extension

chris_barker at my-deja.com chris_barker at my-deja.com
Thu Oct 19 14:16:27 EDT 2000


  "Mark Hammond" <MarkH at ActiveState.com> wrote:
> PyArg_ParseTuple will work on any tuple.
>
> Eg, if you have nested tuples, you could use PyArg_ParseTuple(args,
> "000", t1, t2, t3), then PyArg_ParseTuple(t1, "iii", &i1)

Well, I thought it might, and I have no excuse for not just trying it.

Thanks, Mark.

-Chris
cbarker at jps.net


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list