Skip to content

Commit acd37ba

Browse files
committed
typo and comment misalignment from before
1 parent dd33cde commit acd37ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/difflib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ def _fancy_replace(self, a, alo, ahi, b, blo, bhi):
10671067
dump_i, dump_j = alo, blo # smallest indices not yet resolved
10681068
for j in range(blo, bhi):
10691069
cruncher.set_seq2(b[j])
1070-
# Search the corresponding i's within WINDOW for rhe highest
1070+
# Search the corresponding i's within WINDOW for the highest
10711071
# ratio greater than `cutoff`.
10721072
aequiv = alo + (j - blo)
10731073
arange = range(max(aequiv - WINDOW, dump_i),
@@ -1197,8 +1197,8 @@ def IS_LINE_JUNK(line, pat=None):
11971197
if pat is None:
11981198
# Default: match '#' or the empty string
11991199
return line.strip() in '#'
1200-
# Previous versions used the undocumented parameter 'pat' as a
1201-
# match function. Retain this behaviour for compatibility.
1200+
# Previous versions used the undocumented parameter 'pat' as a
1201+
# match function. Retain this behaviour for compatibility.
12021202
return pat(line) is not None
12031203

12041204
def IS_CHARACTER_JUNK(ch, ws=" \t"):

0 commit comments

Comments
 (0)