Pass a tuple (or list) to a C wrapper function

Fredrik Lundh fredrik at pythonware.com
Thu Oct 13 05:05:57 EDT 2005


Jeremy Moles wrote:

> Probably what you want to do though is just keep the tuple as is and
> iterate over it using the PySequence_* protocol:
>
> http://docs.python.org/api/sequence.html

I did post a complete and tested example a few days ago, which contained
code that showed how to do this.  a complete waste of time, of course.

</F> 






More information about the Python-list mailing list