mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add None as a valid type in SAXParseException's second argument (#9162)
Closes #9161
This commit is contained in:
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user