mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-30 14:45:23 +08:00
Args is a predefined attribute on BaseException, and always Tuple[Any, ...] (#666)
This commit is contained in:
committed by
Guido van Rossum
parent
cecb64b59f
commit
341c4edc37
@@ -795,7 +795,7 @@ Ellipsis = ... # type: ellipsis
|
||||
# Exceptions
|
||||
|
||||
class BaseException:
|
||||
args = ... # type: Any
|
||||
args = ... # type: Tuple[Any, ...]
|
||||
__cause__ = ... # type: BaseException
|
||||
__context__ = ... # type: BaseException
|
||||
__traceback__ = ... # type: TracebackType
|
||||
|
||||
Reference in New Issue
Block a user