mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Change the type of BaseException.message to Any (#1887)
This commit is contained in:
committed by
Jelle Zijlstra
parent
100a071729
commit
37ec012113
@@ -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, ...]: ...
|
||||
|
||||
Reference in New Issue
Block a user