PyObject_GetIter resets iteration?

Jan Boelsche jan at muskelfisch.com
Wed Jun 25 14:59:47 EDT 2003


A Question about the C API

When PyObject_GetIter(PyObject *o) returns o itself, becuase it is
already an iterator, does it reset the iteration too?
Or does it never have an effect on the iteration's state?

Thanks,
  jan




More information about the Python-list mailing list