def make_table(self, *args, **kwargs):
# type: (*Any, **Any) -> str
with warnings.catch_warnings():
# PendingDeprecationWarning acknowledged.
warnings.simplefilter("ignore")
table = super(HtmlMultiDiff, self).make_table(*args, **kwargs)
def unescape_zeroonetwo(m):
return unichr(ord(m.group(1)) - ord('0'))
table = re.sub('\x02([012])', unescape_zeroonetwo, table)
return table
评论列表
文章目录