Brian Oney via Python-list wrote:
> That's one thing that confused me. Generators are supposed to be one-off
> iterators. Iterators, *I understood* as reusable iterables.
The way I think about it, informally: iterables need and __iter__ method,
iterators need a __next__ method.
In practice all
On 22Sep2018 12:08, Brian Oney wrote:
That's one thing that confused me. Generators are supposed to be one-off
iterators. Iterators, *I understood* as reusable iterables.
You've misread the grammar (the semantics). Iterators are one off - they're
something that counts (for want of a better w
That's one thing that confused me. Generators are supposed to be one-off
iterators. Iterators, *I understood* as reusable iterables.
--
https://mail.python.org/mailman/listinfo/python-list
Francis Esmonde-White wrote:
> Hello,
>
> I came to report one bug (in the Python 3 tutorial documentation), and ran
> into another (functional in bugs.python.org bug tracker registration
> system). I have included details for both bugs below.
>
> Thanks in advance for your assistance, I am lovi
Hello,
I came to report one bug (in the Python 3 tutorial documentation), and ran
into another (functional in bugs.python.org bug tracker registration
system). I have included details for both bugs below.
Thanks in advance for your assistance, I am loving Python and the
documentation!
Warm regar