gah! I hate the new string syntax

Tim Peters tim.one at home.com
Fri Mar 2 13:30:54 EST 2001


[Sean 'Shaleh' Perry]
> good ole:
>
> from string import join
>
> l = join(';', ['a','b','c']) # thanks, this is clear and obvious
>
> Please o' gods of python, do not deprecate the clean and obvious
> syntax that is found in the string module.

Sean, that claim of "obvious" would have been a lot more convincing if you
had managed to remember the correct order of string.join's arguments <wink>.





More information about the Python-list mailing list