mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 09:37:30 +08:00
Args is a predefined attribute on BaseException, and always Tuple[Any, ...] (#666)
This commit is contained in:
1 parent
cecb64b59f
commit
341c4edc37
4 files changed
+4
-11
No files matched your search
@@ -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