Skip to content

Commit b0cdc8d

Browse files
Update boyer_moore_search.py
1 parent c97cf7a commit b0cdc8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/boyer_moore_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def match_in_pattern(self, char: str) -> int:
4444
i (int): index of char from last in pattern
4545
-1 (int): if char is not found in pattern
4646
47-
>>> bms = BoyerMooreSearch("ABAABA", "AB")
47+
>>> bms = BoyerMooreSearch(text="ABAABA", pattern="AB")
4848
>>> bms.match_in_pattern("B")
4949
1
5050
"""

0 commit comments

Comments
 (0)