Message102963
I think the docs are fine as-is. At that point in the tutorial, we're trying to teach what the iterator protocol is.
The considerations of what makes a good design can be discussed elsewhere. It is not a one-liner. For example, files are self iterators but lists are not -- there are good reasons for either choice. Explaining those design choices is not a good way to *introduce* the iterator protocol.
Recommend closing this report. |
|
Date |
User |
Action |
Args |
2010-04-12 18:08:00 | rhettinger | set | recipients:
+ rhettinger, georg.brandl, eric.araujo, r.david.murray, ysj.ray, andersk |
2010-04-12 18:08:00 | rhettinger | set | messageid: <1271095680.46.0.103794854952.issue8376@psf.upfronthosting.co.za> |
2010-04-12 18:07:58 | rhettinger | link | issue8376 messages |
2010-04-12 18:07:57 | rhettinger | create | |
|