mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
add default arguments to traceback.format_exception (#360)
This commit is contained in:
committed by
Matthias Kramm
parent
cfeaa41310
commit
e436795124
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user