mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-01 07:23:47 +08:00
Add None as a valid type in SAXParseException's second argument (#9162)
Closes #9161
This commit is contained in:
1 parent
70c4af4b73
commit
f5459640f8
1 file changed
+1
-1
@@ -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