From aa6840323021a3542eaabdfc3bd96b6e2e556aaf Mon Sep 17 00:00:00 2001 From: Svyatoslav Ilinskiy Date: Thu, 3 Aug 2017 12:57:59 -0700 Subject: [PATCH] Make BaseException's init accept object instead of Any (#1518) --- stdlib/3/builtins.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 50d9098e6..1958b1270 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -900,7 +900,7 @@ class BaseException: __cause__ = ... # type: BaseException __context__ = ... # type: BaseException __traceback__ = ... # type: TracebackType - def __init__(self, *args: Any) -> None: ... + def __init__(self, *args: object) -> None: ... def with_traceback(self, tb: Any) -> BaseException: ... class GeneratorExit(BaseException): ...