changed format_exception to use BaseException as value (#292)

This commit is contained in:
Philip House
2016-06-15 11:52:04 -05:00
committed by Guido van Rossum
parent b56ebf2b6a
commit dee5e7a1df
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import typing
# TODO signatures
def format_exception_only(etype, value): ...
def format_exception(type: type, value: List[str], tb: TracebackType, limit: int, chain: bool) -> str: ...
def format_exception(type: type, value: BaseException, tb: TracebackType, limit: int, chain: bool) -> str: ...
def format_tb(traceback): ...
def print_exc(limit=..., file=..., chain=...): ...
def format_exc(limit: int = ..., chain: bool = ...) -> str: ...