mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
changed format_exception to use BaseException as value (#292)
This commit is contained in:
committed by
Guido van Rossum
parent
b56ebf2b6a
commit
dee5e7a1df
@@ -13,7 +13,7 @@ def extract_tb(f: TracebackType, limit: int = ...) -> ExtractTbResult: ...
|
||||
def extract_stack(f: FrameType = ..., limit: int = ...) -> ExtractTbResult: ...
|
||||
def format_list(list: ExtractTbResult) -> List[str]: ...
|
||||
def format_exception_only(type: type, value: List[str]) -> str: ...
|
||||
def format_exception(type: type, value: List[str], tb: TracebackType, limit: int = ...) -> str: ...
|
||||
def format_exception(type: type, value: BaseException, tb: TracebackType, limit: int = ...) -> str: ...
|
||||
def format_tb(f: TracebackType, limit: int = ...) -> List[str]: ...
|
||||
def format_stack(f: FrameType = ..., limit: int = ...) -> List[str]: ...
|
||||
def tb_lineno(tb: TracebackType) -> AnyStr: ...
|
||||
|
||||
Reference in New Issue
Block a user