[Python-Dev] ''.join in 1.6

Gerrit Holl gerrit@nl.linux.org
Thu, 20 Jan 2000 09:08:01 +0100

Fredrik Lundh wrote on 948314616:
> > In 1.6, I should do it this way:
> > '\t'.join(s)
> > 
> > I think it would be better to have that method on the *list*:
> > s.join('\t')
> > 
> > That's more clear, isn't it?
> what if "s" is a tuple?  an array?  a user-defined
> sequence type?

I understand. Thanks for your answers.


Please correct any bad English you encounter in my email message!
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE?
Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y