On Sat, Jul 16, 2016 at 3:54 AM, Guy Arad <[email protected]> wrote:
> I have recently started developing Python professionally.
> I have stumbled upon the ForLoop page the part showing how to write your own
> iterable is misleading. It should at the very least state the __iter__ is
> part of the iterable protocol, and 'next' is part of the iterator protocol,
> and actually it's preferable to separate the iterator from the iterable.
>
> I would be happy to contribute.

Looks like that code is all about Python 2, too, which should be
changed (it should at least acknowledge Py3). Contributions are
definitely welcome; all you need is a Wiki user name, and we can give
you editing power.

ChrisA
_______________________________________________
pydotorg-www mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pydotorg-www

Reply via email to