[Python-Dev] String methods... finally
Tim Peters
tim_one at email.msn.com
Tue Jun 15 17:33:38 CEST 1999
> hmm. consider the following:
>
> space = " "
> foo = L"foo"
> bar = L"bar"
> result = space.join((foo, bar))
>
> what should happen if you run this:
>
> a) Python raises an exception
> b) result is an ordinary string object
> c) result is a unicode string object
The proposal said #b, or, in general, that the resulting string be of the
same flavor as the separator.
More information about the Python-Dev
mailing list