Skip to content

Commit 4f6c516

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2b3d13f commit 4f6c516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

strings/min_cost_string_conversion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
into another (Levenshtein distance).
44
The allowed operations are insertion, deletion, or substitution of a single character.
55
"""
6+
67
import doctest
78

89

@@ -76,8 +77,7 @@ def compute_transform_tables(
7677
[0 for _ in range(len_destination_seq + 1)] for _ in range(len_source_seq + 1)
7778
]
7879
ops = [
79-
["0" for _ in range(len_destination_seq + 1)]
80-
for _ in range(len_source_seq + 1)
80+
["0" for _ in range(len_destination_seq + 1)] for _ in range(len_source_seq + 1)
8181
]
8282

8383
for i in range(1, len_source_seq + 1):

0 commit comments

Comments
 (0)