Fri Apr 28 10:43:00 UTC 2023 inscode

上级 26297743
from redlines import Redlines
test = Redlines("The quick brown fox jumps over the lazy dog.")
assert test.compare(
'The quick brown fox walks past the lazy dog.') == "The quick brown fox <del>jumps over </del><ins>walks past </ins>the lazy dog."
assert test.compare(
'The quick brown fox jumps over the dog.') == 'The quick brown fox jumps over the <del>lazy </del>dog.'
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册