]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Create _PyUnicode_READY_REPLACE() to reuse singleton
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 11:28:14 +0000 (13:28 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 11:28:14 +0000 (13:28 +0200)
commit1b4f9ceca79206770215c9cbb0b2de532dba4aec
tree37639d7f1a43562d9141e3447b0144588b932a25
parentc379ead9afe114e1023ad64a9dea9a3a9a869ecf
Create _PyUnicode_READY_REPLACE() to reuse singleton

Only use _PyUnicode_READY_REPLACE() on just created strings.
Objects/unicodeobject.c