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 serhiy.storchaka
Recipients docs@python, py.user, r.david.murray, rhettinger, serhiy.storchaka, terry.reedy
Date 2013-08-06.12:11:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375791093.74.0.585284037721.issue18301@psf.upfronthosting.co.za>
In-reply-to
Content
It should be a classmethod.

>>> import itertools
>>> class C(itertools.chain): pass
... 
>>> type(C.from_iterable(['ab', 'cd']))
<class '__main__.C'>

The patch LGTM.
History
Date User Action Args
2013-08-06 12:11:33serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, terry.reedy, r.david.murray, docs@python, py.user
2013-08-06 12:11:33serhiy.storchakasetmessageid: <1375791093.74.0.585284037721.issue18301@psf.upfronthosting.co.za>
2013-08-06 12:11:33serhiy.storchakalinkissue18301 messages
2013-08-06 12:11:33serhiy.storchakacreate