On 2004-12-26, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> string methods are nice, but nothing groundbreaking, and their niceness is
> almost entirely offset by the horrid "".join(seq) construct that keeps popping
> up when people take the "the string module is deprecated" yada yada too
> seriously.  and what do the python-devers do?  they add a "sum" built-in,
> but no "join"?  hello?

I happen to not mind the ''.join syntax, but if I did, I would use

  str.join('', seq)

which is just like a join builtin except that it's not as easy to make
it work on pre-string-method Pythons.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to