From 37ec01211381419cdb54de8ec6ff54d78d8980f4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 16 Feb 2018 13:42:28 -0800 Subject: [PATCH] Change the type of BaseException.message to Any (#1887) --- stdlib/2/__builtin__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/2/__builtin__.pyi b/stdlib/2/__builtin__.pyi index f64476f86..55fdea25b 100644 --- a/stdlib/2/__builtin__.pyi +++ b/stdlib/2/__builtin__.pyi @@ -903,7 +903,7 @@ class memoryview(Sized, Container[bytes]): class BaseException(object): args = ... # type: Tuple[Any, ...] - message = ... # type: str + message = ... # type: Any def __init__(self, *args: object, **kwargs: object) -> None: ... def __getitem__(self, i: int) -> Any: ... def __getslice__(self, start: int, stop: int) -> Tuple[Any, ...]: ...