BaseException does not take keyword arguments (#2348)

Fixes #2344
This commit is contained in:
David Euresti authored and Jelle Zijlstra committed 2018-07-27 13:28:43 -07:00
1 parent 0c9f0d21d2
commit 4e40b035c8
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -942,7 +942,7 @@ class BaseException:
__cause__ = ... # type: Optional[BaseException]
__context__ = ... # type: Optional[BaseException]
__traceback__ = ... # type: Optional[TracebackType]
def __init__(self, *args: object, **kwargs: object) -> None: ...
def __init__(self, *args: object) -> None: ...
def with_traceback(self, tb: Optional[TracebackType]) -> BaseException: ...
class GeneratorExit(BaseException): ...