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

Function print_exc

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

Shorthand for 'print_exception(*sys.exc_info(), limit, file)'.

(limit=None, file=None, chain=True)

Source from the content-addressed store, hash-verified

176# --
177
178def print_exc(limit=None, file=None, chain=True):
179 """Shorthand for 'print_exception(*sys.exc_info(), limit, file)'."""
180 print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
181
182def format_exc(limit=None, chain=True):
183 """Like print_exc() but return a string."""

Callers

nothing calls this directly

Calls 1

print_exceptionFunction · 0.70

Tested by

no test coverage detected