Add attributes to xml.etree.ElementTree.ParseError. (#3158)

This commit is contained in:
Michael R. Shannon
2019-07-30 00:48:28 -06:00
committed by Sebastian Rittau
parent 15aa18d0a2
commit 568f1ea555

View File

@@ -7,7 +7,9 @@ import sys
VERSION: str
class ParseError(SyntaxError): ...
class ParseError(SyntaxError):
code: int
position: Tuple[int, int]
def iselement(element: object) -> bool: ...