¡@

Home 

python Programming Glossary: sequenceobject

How to create a generator/iterator with the Python C API?

http://stackoverflow.com/questions/1815812/how-to-create-a-generator-iterator-with-the-python-c-api

class Sequence. typedef struct PyObject_HEAD size_t max SequenceObject Instance variables static PyMemberDef Sequence_members max T_UINT.. static PyMemberDef Sequence_members max T_UINT offsetof SequenceObject max 0 NULL NULL Sentinel static int Sequence_Init SequenceObject.. max 0 NULL NULL Sentinel static int Sequence_Init SequenceObject self PyObject args PyObject kwds if PyArg_ParseTuple args k..