Improve comment clarity
This commit is contained in:
parent
a5dc665ddc
commit
103e51eb7f
@ -119,8 +119,7 @@ class TextReplacement(Module):
|
|||||||
# we've matched all of the characters in a phrase to be substituted
|
# we've matched all of the characters in a phrase to be substituted
|
||||||
if rule.to_substitute.index_at_end():
|
if rule.to_substitute.index_at_end():
|
||||||
rule.restart()
|
rule.restart()
|
||||||
# set the index of to_substitute to where the
|
# set the phrase indexes to where they differ
|
||||||
# substitution phrase and phrase to substitute differ
|
|
||||||
# so that only the characters that differ are replaced
|
# so that only the characters that differ are replaced
|
||||||
for character in rule.to_substitute._characters:
|
for character in rule.to_substitute._characters:
|
||||||
if (
|
if (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user