[Python-Dev] Re: [Python-Dev] Re: [Python-Dev] Re: String methods... finally
gmcm at hypernet.com
Tue Jun 15 15:08:08 CEST 1999
Greg Stein wrote:
> And hey... people can always do:
> def strjoin(sep, seq):
> return sep.join(map(str, seq))
> And just use strjoin() everywhere if they hate the typing.
Those who hate typing regard it as great injury that they have to
define this. Of course, they'll gladly type huge long posts on the
But, I agree. string.join(['a', 'b', 3]) currently barfs.
L" ".join(seq) should complain if seq isn't all unicode, and same for
good old strings.
More information about the Python-Dev