A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-February/033348.html below:

[Python-Dev] str.join, string.join

[Python-Dev] str.join, string.joinZack 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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4