mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#18803: fix more typos. Patch by Févry Thibault.
This commit is contained in:
parent
bf8ab77f94
commit
7c4a7e6f3c
17 changed files with 20 additions and 20 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue