PyObject_GetIter resets iteration?

J

Jan Boelsche

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top