homepage

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 py.user
Recipients docs@python, py.user
Date 2013年06月25日.18:58:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372186723.21.0.67533324157.issue18301@psf.upfronthosting.co.za>
In-reply-to
Content
http://docs.python.org/2/library/itertools.html#itertools.chain.from_iterable
>>> class A:
... @classmethod
... def from_iterable(iterables):
... for it in iterables:
... for element in it:
... yield element
... 
>>> A.from_iterable(['ABC', 'DEF'])
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
TypeError: from_iterable() takes 1 positional argument but 2 were given
>>>
History
Date User Action Args
2013年06月25日 18:58:43py.usersetrecipients: + py.user, docs@python
2013年06月25日 18:58:43py.usersetmessageid: <1372186723.21.0.67533324157.issue18301@psf.upfronthosting.co.za>
2013年06月25日 18:58:43py.userlinkissue18301 messages
2013年06月25日 18:58:43py.usercreate

AltStyle によって変換されたページ (->オリジナル) /