Message157784
Why is it so important if strings implement __iter__? They are iterable in both versions, since iteration falls back on __getitem__ if no __iter__ is defined. For user code it is irrelevant which of the iteration protocols is present. |
|
Date |
User |
Action |
Args |
2012-04-08 10:16:36 | georg.brandl | set | recipients:
+ georg.brandl, chris.jerdonek, docs@python |
2012-04-08 10:16:36 | georg.brandl | set | messageid: <1333880196.2.0.181569517585.issue14528@psf.upfronthosting.co.za> |
2012-04-08 10:16:35 | georg.brandl | link | issue14528 messages |
2012-04-08 10:16:35 | georg.brandl | create | |
|