bug in string.join()?

Fernando Rodríguez spamers at must.die
Sat Feb 24 00:47:20 CET 2001


On Wed, 21 Feb 2001 19:06:13 -0800, Daniel Klein <danielk at aracnet.com> wrote:

>On Wed, 21 Feb 2001 20:32:11 +0100, Fernando Rodríguez <spamers at must.die>
>wrote:
>
>>>>> string.join(("abcde"))
>>'a b c d e'
>>
>>Is this the expected behavior, or is it a bug? O:-)
>
>What would you expect it to do? It's already 'joined' without spaces to start
>with.

That's why I expected it to do nothing. Instead, it did something weird.




//-----------------------------------------------
//	Fernando Rodriguez Romero
//
//	frr at mindless dot com
//------------------------------------------------



More information about the Python-list mailing list