[Python-Dev] Single- vs. Multi-pass iterability

Barry A. Warsaw barry@zope.com
Fri, 12 Jul 2002 12:58:59 -0400


>>>>> "AK" == Andrew Koenig <ark@research.att.com> writes:

    Barry> Would it be useful to add to the interator "interface" a
    Barry> method which would retrieve the original iterable object?

    AK> What if there isn't one?

The method would return None.
-Barry