Skip to content

Commit aa68403

Browse files
ilinumgvanrossum
authored andcommitted
Make BaseException's init accept object instead of Any (#1518)
1 parent 98d768b commit aa68403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/3/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ class BaseException:
900900
__cause__ = ... # type: BaseException
901901
__context__ = ... # type: BaseException
902902
__traceback__ = ... # type: TracebackType
903-
def __init__(self, *args: Any) -> None: ...
903+
def __init__(self, *args: object) -> None: ...
904904
def with_traceback(self, tb: Any) -> BaseException: ...
905905

906906
class GeneratorExit(BaseException): ...

0 commit comments

Comments
 (0)