summaryrefslogtreecommitdiffstats
path: root/Tools/stringbench
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:32:56 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-25 22:32:56 (GMT)
commit7c4a7e6f3cbd98ad547a3f1661582517612419e3 (patch)
tree401bde344fe15ab617c9be5c0e6fec7f4363d81f /Tools/stringbench
parentbf8ab77f940013e42f7b9af5b4fd2100238f389b (diff)
downloadcpython-7c4a7e6f3cbd98ad547a3f1661582517612419e3.zip
cpython-7c4a7e6f3cbd98ad547a3f1661582517612419e3.tar.gz
cpython-7c4a7e6f3cbd98ad547a3f1661582517612419e3.tar.bz2
#18803: fix more typos. Patch by FĂ©vry Thibault.
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 a0a21fa..142b3ca 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):