[Python-ideas] textFromMap(seq , map=None , sep='' , ldelim='', rdelim='')

Boris Borcic bborcic at gmail.com
Tue Oct 26 14:04:49 CEST 2010


Nick Coghlan wrote:
> With the str method, while some
> people may find it odd to have the method invocation on the separator,
> they typically don't forget the order once they learn it for the first
> time.

OTOH, it is a pain that join and split aren't *both* methods on the separator. 
Imho, 71% of what makes it strange for join to be a method on the separator, is 
that split doesn't follow the same convention.

Cheers, BB





More information about the Python-ideas mailing list