mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 06:36:54 +08:00
Fix type for py2 traceback.format_exc and add to python 3.
This commit is contained in:
committed by
Guido van Rossum
parent
2011e178a6
commit
55830ec190
@@ -6,6 +6,7 @@ import typing
|
||||
def format_exception_only(etype, value): ...
|
||||
def format_tb(traceback): ...
|
||||
def print_exc(limit=..., file=..., chain=...): ...
|
||||
def format_exc(limit: int, chain: bool = ...) -> str: ...
|
||||
def extract_stack(f=..., limit=...): ...
|
||||
def extract_tb(traceback, limit=...): ...
|
||||
def format_list(list): ...
|
||||
|
||||
Reference in New Issue
Block a user