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/2000-November/010753.html below:

[Python-Dev] A house upon the sand)

Methods vs. Functions (Re: [Python-Dev] A house upon the sand) Methods vs. Functions (Re: [Python-Dev] A house upon the sand)Barry A. Warsaw barry@digicool.com
Mon, 27 Nov 2000 19:17:32 -0500
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    GvR> But join() is special: it is polymorphic in two arguments,
    GvR> and making it a method of the separator argument doesn't
    GvR> help.

What about calling the built-in strjoin().  That avoids the conflict
with os.path.join() and strengthens the connection with the intended
behavior -- that the return value is a string and the elements are
str()-ified.

or-use-sjoin()-ly y'rs,
-Barry



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