Don't quote the Match type since it's imported from Typing
This commit is contained in:
		
							parent
							
								
									04d052e306
								
							
						
					
					
						commit
						e596b26f1a
					
				| 
						 | 
					@ -71,7 +71,7 @@ _py_ext_re = re.compile(r"\.py$")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def bin_xml_escape(arg: str) -> py.xml.raw:
 | 
					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())
 | 
					        i = ord(matchobj.group())
 | 
				
			||||||
        if i <= 0xFF:
 | 
					        if i <= 0xFF:
 | 
				
			||||||
            return "#x%02X" % i
 | 
					            return "#x%02X" % i
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue