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 lvogt
Recipients belopolsky, docs@python, ezio.melotti, georg.brandl, lvogt, rhettinger, terry.reedy
Date 2010-07-26.19:48:49
SpamBayes Score 0.0041754274
Marked as misclassified No
Message-id <1280173731.9.0.726954469023.issue7447@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you.

I think the specific list of list example is better for the sum documentation because lists support the + operator. I don't think
that someone would consider using sum for chaining arbitrary iterables.
What about a concise "To concatenate lists use itertools.chain.from_iterable." and letting the "apply list constructor" part as an exercise to the reader?

I did the explicit reference to itertools.itertools.chain.from_iterable since the default or the explicit link to itertools.chain.from_iterable did not produce a correct link in the html docs.
I applied patch3 and ran make html; there is no html link to from_iterable produced.
History
Date User Action Args
2010-07-26 19:48:52lvogtsetrecipients: + lvogt, georg.brandl, rhettinger, terry.reedy, belopolsky, ezio.melotti, docs@python
2010-07-26 19:48:51lvogtsetmessageid: <1280173731.9.0.726954469023.issue7447@psf.upfronthosting.co.za>
2010-07-26 19:48:50lvogtlinkissue7447 messages
2010-07-26 19:48:49lvogtcreate