]> granicus.if.org Git - python/commit
SF Patch #1007087: Return new string for single subclass joins (Bug #1001011)
authorRaymond Hettinger <python@rcn.com>
Mon, 23 Aug 2004 23:23:54 +0000 (23:23 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 23 Aug 2004 23:23:54 +0000 (23:23 +0000)
commit674f241e9c5bd0f40418580d74e3c8e430f651cc
treede1ddc670e5b000922d74d31834e45039e823746
parentdd50cb748a4dc317891a8df50adc8371db7598cc
SF Patch #1007087:  Return new string for single subclass joins (Bug #1001011)
(Patch contributed by Nick Coghlan.)

Now joining string subtypes will always return a string.
Formerly, if there were only one item, it was returned unchanged.
Lib/test/test_string.py
Objects/stringobject.c