1 #7ˆl–äY>”*e¶…¾ \¸Ó·˜´o× ƒ}—\ÖÄÔ$ 7 Iterator Protocol — Python 2.7.5 documentation

Iterator Protocol¶

New in version 2.2.

There are only a couple of functions specifically for working with iterators.

int PyIter_Check(PyObject *o)¶

Return true if the object o supports the iterator protocol.

PyObject* PyIter_Next(