Add None as a valid type in SAXParseException's second argument (#9162)

Closes #9161
This commit is contained in:
Ben Blank
2022-11-11 12:18:22 -08:00
committed by GitHub
parent 70c4af4b73
commit f5459640f8

View File

@@ -15,7 +15,7 @@ class SAXException(Exception):
def __getitem__(self, ix: Any) -> NoReturn: ...
class SAXParseException(SAXException):
def __init__(self, msg: str, exception: Exception, locator: Locator) -> None: ...
def __init__(self, msg: str, exception: Exception | None, locator: Locator) -> None: ...
def getColumnNumber(self) -> int: ...
def getLineNumber(self) -> int: ...
def getPublicId(self): ...