Feature Proposal: Sequence .join method

en.karpachov at ospaz.ru en.karpachov at ospaz.ru
Fri Sep 30 07:03:01 CEST 2005


On Thu, 29 Sep 2005 20:37:31 -0600
Steven Bethard wrote:

> I don't like the idea of having to put this on all sequences.  If you 
> want this, I'd instead propose it as a function (perhaps builtin, 
> perhaps in some other module).

itertools module seems the right place for it.

itertools.chain(*a)

is the same as the proposed

[].join(a)

-- 
jk



More information about the Python-list mailing list