traceback: make first argument to format_exc optional

This commit is contained in:
Ben Darnell
2016-04-10 19:54:01 -04:00
parent f08160bd4c
commit f489c54501

View File

@@ -9,7 +9,7 @@ def format_exception_only(etype, value): ...
def format_exception(type: type, value: List[str], 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: ...
def format_exc(limit: int = ..., chain: bool = ...) -> str: ...
def extract_stack(f=..., limit=...): ...
def extract_tb(traceback, limit=...): ...
def format_list(list): ...