mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
BaseException.__init__ accepts **kwargs (#1704)
This commit is contained in:
committed by
Jelle Zijlstra
parent
81191e49a3
commit
05f527c089
@@ -873,7 +873,7 @@ class memoryview(Sized, Container[bytes]):
|
||||
class BaseException(object):
|
||||
args = ... # type: Tuple[Any, ...]
|
||||
message = ... # type: str
|
||||
def __init__(self, *args: Any) -> None: ...
|
||||
def __init__(self, *args: object, **kwargs: object) -> None: ...
|
||||
class GeneratorExit(BaseException): ...
|
||||
class KeyboardInterrupt(BaseException): ...
|
||||
class SystemExit(BaseException):
|
||||
|
||||
Reference in New Issue
Block a user