mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
BaseException.__init__ accepts **kwargs (#1704)
This commit is contained in:
committed by
Jelle Zijlstra
parent
81191e49a3
commit
05f527c089
@@ -902,7 +902,7 @@ class BaseException:
|
||||
__cause__ = ... # type: BaseException
|
||||
__context__ = ... # type: BaseException
|
||||
__traceback__ = ... # type: TracebackType
|
||||
def __init__(self, *args: object) -> None: ...
|
||||
def __init__(self, *args: object, **kwargs: object) -> None: ...
|
||||
def with_traceback(self, tb: Any) -> BaseException: ...
|
||||
|
||||
class GeneratorExit(BaseException): ...
|
||||
|
||||
Reference in New Issue
Block a user