diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-12 21:46:10 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-12 21:46:10 (GMT) |
commit | 49a0a21f37730c66d7c3b2f79493822b065ea96b (patch) | |
tree | c4143db835e4065a6070571b751c9f8a0f648b4d /Objects/stringlib | |
parent | 69f55cc03385c5d5d828bc0b24ee3f3f7d3781d6 (diff) | |
download | cpython-49a0a21f37730c66d7c3b2f79493822b065ea96b.zip cpython-49a0a21f37730c66d7c3b2f79493822b065ea96b.tar.gz cpython-49a0a21f37730c66d7c3b2f79493822b065ea96b.tar.bz2 |
Unicode replace() avoids calling unicode_adjust_maxchar() when it's useless
Add also a special case if the result is an empty string.
Diffstat (limited to 'Objects/stringlib')
0 files changed, 0 insertions, 0 deletions