Skip to content

Commit c4fa0e1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 786c61b commit c4fa0e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

backtracking/match_word_pattern.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ def backtrack(pattern_index, str_index):
3939
del pattern_map[char]
4040
del str_map[substr]
4141
return False
42-
pattern_map: dict[str,str] = {}
43-
str_map: dict[str,str] = {}
42+
43+
pattern_map: dict[str, str] = {}
44+
str_map: dict[str, str] = {}
4445
return backtrack(0, 0)
4546

4647

0 commit comments

Comments
 (0)