SPAM-LOW: Re: Function/method returning list of chars in string?

Mel mwilson at
Wed Jun 10 17:49:10 EDT 2009

Terry Reedy wrote:

> Str.join takes any iterable of strings and constructs a string.  Only
> str knows how to do that, though it could have a built-in that called a
> hypothetical .__join__ method.  However, Python started with just one
> string type and there does not seem much use for joining an indefinite
> number of tuples or lists. 

I can imagine

numbers = [655, 583, 675, 456, 496, 239, 888]
something = numbers.join (2)

but I can't imagine what it could possibly be for.  Something in the 
Goedelization line?


More information about the Python-list mailing list