Message157808
Sorry, I agree with Georg, this isn't a bug, not even a documentation bug. A type is free to implement iteration either by way of __iter__ or by way of __getitem__. How it chooses to do so is an implementation detail (and different implementations have made different choices). |
|
Date |
User |
Action |
Args |
2012-04-08 20:13:20 | rhettinger | set | recipients:
+ rhettinger, georg.brandl, chris.jerdonek, docs@python |
2012-04-08 20:13:20 | rhettinger | set | messageid: <1333916000.81.0.272624275655.issue14528@psf.upfronthosting.co.za> |
2012-04-08 20:13:20 | rhettinger | link | issue14528 messages |
2012-04-08 20:13:20 | rhettinger | create | |
|