[ZCM] [ZC] 326/ 1 Request "ZTUtils doesn't support __iter__ methods"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Sat, 30 Mar 2002 17:47:27 -0500
Issue #326 Update (Request) "ZTUtils doesn't support __iter__ methods"
Status Pending, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/326
==============================================================
= Request - Entry #1 by stevea on Mar 30, 2002 5:47 pm
ZTUtils.Iterator.IterInner is the iterator inner class for Python iterators.
It supports iterators that have a next() method. However, you can also create an iterator as a class that has an __iter__ method that yields instead of returning.
IterInner should support this mode of use.
==============================================================