PyObject_GetIter resets iteration?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jan Boelsche

    PyObject_GetIter resets iteration?

    A Question about the C API

    When PyObject_GetIte r(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
Working...