summaryrefslogtreecommitdiffstats
path: root/Tools/stringbench
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:33:30 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:33:30 (GMT)
commitd640fe2af5095c8104a7cf850c2a669c8e864215 (patch)
tree04fbf97c7f008821c9999531a56bdebc319353d5 /Tools/stringbench
parentc020e7f8cb04ff81197501781e92a26fa4382135 (diff)
parent7c4a7e6f3cbd98ad547a3f1661582517612419e3 (diff)
downloadcpython-d640fe2af5095c8104a7cf850c2a669c8e864215.zip
cpython-d640fe2af5095c8104a7cf850c2a669c8e864215.tar.gz
cpython-d640fe2af5095c8104a7cf850c2a669c8e864215.tar.bz2
#18803: merge with 3.3.
Diffstat (limited to 'Tools/stringbench')
-rwxr-xr-xTools/stringbench/stringbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/stringbench/stringbench.py b/Tools/stringbench/stringbench.py
index c72e16d..5abc25a 100755
--- a/Tools/stringbench/stringbench.py
+++ b/Tools/stringbench/stringbench.py
@@ -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):