mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
14 lines
309 B
Python
14 lines
309 B
Python
# Stubs for traceback
|
|
|
|
import typing
|
|
|
|
# TODO signatures
|
|
def format_exception_only(etype, value): ...
|
|
def format_tb(traceback): ...
|
|
def print_exc(limit=..., file=..., chain=...): ...
|
|
def extract_stack(f=..., limit=...): ...
|
|
def extract_tb(traceback, limit=...): ...
|
|
def format_list(list): ...
|
|
|
|
# TODO add more
|