PyObject_GetIter resets iteration?

Discussion in 'Python' started by Jan Boelsche, Jun 25, 2003.

  1. Jan Boelsche

    Jan Boelsche Guest

    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?

    Jan Boelsche, Jun 25, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.