Steven D'Aprano writes:

 > > The two iterators have the same duck-type, the generator is different.
 > 
 > How is the generator different?

My bad, I got the comparison backward.  The generator *is* different,
but it's because the generator has *extra* public methods, not fewer.

Sorry for the noise.

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to