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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top