picop.cyiterator#

Iterator protocol helpers.

picop.cyiterator.iter_check(o)#

Return True if o supports the iterator protocol (PyIter_Check). :type o: object :param o:

Return type:

bool

picop.cyiterator.iter_eq(a, b)#

Return True if a is b (iterator identity; typical CPython object.__eq__). :type a: object :param a: :type b: object :param b:

Return type:

bool

picop.cyiterator.iter_next(o)#