Dmitry Soshnikov (2015-04-13T02:11:41.000Z)
d at domenic.me (2015-04-19T23:42:07.655Z)
On Sun, Apr 12, 2015 at 4:53 PM, Rick Waldron <waldron.rick at gmail.com> wrote: > The object that's returned by a generator function conforms to both the > Iterator and Iterable interfaces. As any other iterator of the built-ins (unless I'm not aware of specific cases). I.e. an enough description is: an object is returned by a generator function is an _iterator_ (and that it conforms also the iterable interfaces this should go without saying, since all iterators do; user-level iterators may deviate from this "invariant" though).