]> granicus.if.org Git - python/commit
Return the orginal string only if it's a real str or unicode
authorWalter Dörwald <walter@livinglogic.de>
Mon, 15 Apr 2002 18:42:15 +0000 (18:42 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Mon, 15 Apr 2002 18:42:15 +0000 (18:42 +0000)
commit0fe940c862fef8729f07b5686847e7e952b40fe6
tree320a56eae714fc456178ce2e31c44ab754301c1e
parent8a5e6790d959cac49ab66cf4973b6ab6c3f397fd
Return the orginal string only if it's a real str or unicode
instance, otherwise make a copy.
Objects/stringobject.c
Objects/unicodeobject.c