Don't quote the Match type since it's imported from Typing

This commit is contained in:
Gleb Nikonorov 2020-07-02 18:22:54 -04:00
parent 04d052e306
commit e596b26f1a
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ _py_ext_re = re.compile(r"\.py$")
def bin_xml_escape(arg: str) -> py.xml.raw:
def repl(matchobj: "Match[str]") -> str:
def repl(matchobj: Match[str]) -> str:
i = ord(matchobj.group())
if i <= 0xFF:
return "#x%02X" % i