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