Guido van Rossum wrote: > > But join() is special: it is polymorphic in two arguments, and making > it a method of the separator argument doesn't help. join() is special indeed, but what about the semantics we talked about last year (?)... join(seq, sep) := seq[0] + sep + seq[1] + sep + ... + seq[n] This should fit all uses of join() (accept maybe os.path.join). How about naming the beast concat() with sep defaulting to '' to avoid the problems with os.path.join() ?! -- Marc-Andre Lemburg ______________________________________________________________________ Company: http://www.egenix.com/ Consulting: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
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