add default arguments to traceback.format_exception (#360)

This commit is contained in:
speezepearson
2016-07-13 06:14:16 -07:00
committed by Matthias Kramm
parent cfeaa41310
commit e436795124

View File

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