diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index 53b3cdd06042..f91cb674c3ca 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -1678,6 +1678,7 @@ class BaseException: __suppress_context__: bool __traceback__: TracebackType | None def __init__(self, *args: object) -> None: ... + def __setstate__(self, __state: dict[str, Any] | None) -> None: ... def with_traceback(self: Self, __tb: TracebackType | None) -> Self: ... if sys.version_info >= (3, 11): # only present after add_note() is called