#18803: merge with 3.3.

This commit is contained in:
Ezio Melotti 2013-08-26 01:33:30 +03:00
commit d640fe2af5
17 changed files with 20 additions and 20 deletions

View file

@ -1294,7 +1294,7 @@ def _get_big_s(STR):
raise AssertionError
# The older replace implementation counted all matches in
# the string even when it only neeed to make one replacement.
# the string even when it only needed to make one replacement.
@bench('("A" + ("Z"*128*1024)).replace("A", "BB", 1)',
'quick replace single character match', 10)
def quick_replace_single_match(STR):