Args is a predefined attribute on BaseException, and always Tuple[Any, ...] (#666)

This commit is contained in:
TrueBrain
2016-11-06 00:33:58 +01:00
committed by Guido van Rossum
parent cecb64b59f
commit 341c4edc37
4 changed files with 4 additions and 11 deletions

View File

@@ -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