mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Add attributes to xml.etree.ElementTree.ParseError. (#3158)
This commit is contained in:
committed by
Sebastian Rittau
parent
15aa18d0a2
commit
568f1ea555
@@ -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: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user