MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / format_tb

Function format_tb

tools/python-3.11.9-amd64/Lib/traceback.py:57–59  ·  view source on GitHub ↗

A shorthand for 'format_list(extract_tb(tb, limit))'.

(tb, limit=None)

Source from the content-addressed store, hash-verified

55 print_list(extract_tb(tb, limit=limit), file=file)
56
57def format_tb(tb, limit=None):
58 """A shorthand for 'format_list(extract_tb(tb, limit))'."""
59 return extract_tb(tb, limit=limit).format()
60
61def extract_tb(tb, limit=None):
62 """

Callers

nothing calls this directly

Calls 2

extract_tbFunction · 0.70
formatMethod · 0.45

Tested by

no test coverage detected