Message157784
| Author |
georg.brandl |
| Recipients |
chris.jerdonek, docs@python, georg.brandl |
| Date |
2012年04月08日.10:16:35 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1333880196.2.0.181569517585.issue14528@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|