]> granicus.if.org Git - python/commit
Don't return the same object from trivial replace() cases --
authorGeorg Brandl <georg@python.org>
Fri, 30 May 2008 12:02:38 +0000 (12:02 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 30 May 2008 12:02:38 +0000 (12:02 +0000)
commit1e7217de49d06130bb7a68c1d21868f9ad85cd2f
treec177c2958abadc085e769710cec72037080ab317
parent17cb8a85d4931d60fc6f4a2f692514dd77e8d700
Don't return the same object from trivial replace() cases --
it is guaranteed to return a new bytearray.
Objects/bytearrayobject.c