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 terry.reedy
Recipients docs@python, py.user, r.david.murray, rhettinger, terry.reedy
Date 2013-06-28.18:53:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372445633.7.0.24115891989.issue18301@psf.upfronthosting.co.za>
In-reply-to
Content
The 2.7 doc says 'Roughly equivalent to' rather than 'Equivalent to'.
The undecorated Python version of from_iterable actually works as an attribute of the Python version of chain: chain.from_iterable = from_iterable. I would just remove the decorator. The entire itertools doc exploits that fact that generator functions are analogous to classes, but it does not work to mix the two in the way that the 3.x chain entry does.
History
Date User Action Args
2013-06-28 18:53:53terry.reedysetrecipients: + terry.reedy, rhettinger, r.david.murray, docs@python, py.user
2013-06-28 18:53:53terry.reedysetmessageid: <1372445633.7.0.24115891989.issue18301@psf.upfronthosting.co.za>
2013-06-28 18:53:53terry.reedylinkissue18301 messages
2013-06-28 18:53:53terry.reedycreate