Help creating extension for C function

Fredrik Lundh fredrik at pythonware.com
Sat Oct 8 15:45:18 EDT 2005


>    seq = PySequence_Fast(data, "expected a sequence");
>    if (!seq)
>        return NULL;

here's some more information on the PySequence_Fast API:

    http://www.effbot.org/zone/python-capi-sequences.htm

</F> 






More information about the Python-list mailing list