[Python-Dev] str.join, string.join
Zack Weinberg
zack@codesourcery.com
Tue, 11 Feb 2003 13:16:24 -0800
Aahz <aahz@pythoncraft.com> writes:
> On Tue, Feb 11, 2003, Christian Tismer wrote:
>>
>> Unfortunately, this is the opposite as in
>> the string module:
>> str.join(',', lines) # vs.
>> string.join(lines, ',')
>
> When it was only string.join(), I always got the order of arguments
> reversed, so I'd be quite happy to have the class method be canonical,
> with the arguments in that order.
How about seq.join(',') where seq is an instance of a sequence type?
zw