Add message attribute to class BaseException.

This commit is contained in:
Guido van Rossum
2016-01-25 16:32:47 -08:00
parent 69169765a7
commit 17d8f20fd5
2 changed files with 2 additions and 0 deletions

View File

@@ -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: ...