From e436795124acac6d29d7641fa2332224a686866d Mon Sep 17 00:00:00 2001 From: speezepearson Date: Wed, 13 Jul 2016 06:14:16 -0700 Subject: [PATCH] add default arguments to traceback.format_exception (#360) --- stdlib/3/traceback.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/traceback.pyi b/stdlib/3/traceback.pyi index d556ec1e7..4abc031c2 100644 --- a/stdlib/3/traceback.pyi +++ b/stdlib/3/traceback.pyi @@ -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: ...