mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add __note__ to BaseException in Python 3.11 (#6633)
This commit is contained in:
@@ -1499,6 +1499,8 @@ class BaseException(object):
|
||||
__context__: BaseException | None
|
||||
__suppress_context__: bool
|
||||
__traceback__: TracebackType | None
|
||||
if sys.version_info >= (3, 11):
|
||||
__note__: str | None
|
||||
def __init__(self, *args: object) -> None: ...
|
||||
def __str__(self) -> str: ...
|
||||
def __repr__(self) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user