Mercurial > cpython-lru_cache-weakref
diff Tools/stringbench/stringbench.py @ 85406:c57d99a8fc42 3.3
#18803: fix more typos. Patch by Févry Thibault.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Mon, 26 Aug 2013 01:32:56 +0300 |
| parents | 24e0850be06d |
| children | 6b28bfff9204 |
line wrap: on
line diff
--- a/Tools/stringbench/stringbench.py Sun Aug 25 15:27:36 2013 -0700 +++ b/Tools/stringbench/stringbench.py Mon Aug 26 01:32:56 2013 +0300 @@ -1294,7 +1294,7 @@ 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):
