mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add message attribute to class BaseException.
This commit is contained in:
@@ -759,6 +759,7 @@ class buffer(Sized):
|
||||
|
||||
class BaseException:
|
||||
args = ... # type: Any
|
||||
message = ... # type: str
|
||||
def __init__(self, *args: Any) -> None: ...
|
||||
def with_traceback(self, tb: Any) -> BaseException: ...
|
||||
class GeneratorExit(BaseException): ...
|
||||
|
||||
@@ -728,6 +728,7 @@ Ellipsis = ... # type: ellipsis
|
||||
|
||||
class BaseException:
|
||||
args = ... # type: Any
|
||||
message = ... # type: str
|
||||
def __init__(self, *args: Any) -> None: ...
|
||||
def with_traceback(self, tb: Any) -> BaseException: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user