This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients docs@python, methane, rhettinger
Date 2010-11-14.10:25:22
SpamBayes Score 1.6233249e-05
Marked as misclassified No
Message-id <AANLkTi=8k5N6pQoVCjWs_=s_wkP3vzL7naOAda+Ea2GX@mail.gmail.com>
In-reply-to <1289692285.61.0.112137812002.issue10410@psf.upfronthosting.co.za>
Content
>> Likewise, "and objects of any classes you define
>> with an __iter__() or __getitem__() method." is
>> wrong because __getitem__ method is not relate to
>> iterable
>
> That wording is correct.  Sequences are automatically
> iterable even if they don't define __iter__.  For example:

Wow, thank you!
History
Date User Action Args
2010-11-14 10:25:24methanesetrecipients: + methane, rhettinger, docs@python
2010-11-14 10:25:22methanelinkissue10410 messages
2010-11-14 10:25:22methanecreate