Skip to content

Commit 68b5c02

Browse files
committed
delete a comma in bm()
1 parent fa0e8b7 commit 68b5c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/33_bm/bm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _move_by_good_suffix(bad_character_index: int, suffix: List[int], prefix: Li
4646
return len(suffix)
4747

4848

49-
def bm(s: str, pattern: str,) -> int:
49+
def bm(s: str, pattern: str) -> int:
5050
bc = _generate_bad_character_table(pattern)
5151
prefix, suffix = _generate_good_suffix_table(pattern)
5252
n, m = len(s), len(pattern)

0 commit comments

Comments
 (0)