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
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top