MCPcopy Index your code
hub / github.com/python/cpython / _print_exception_bltin

Function _print_exception_bltin

Lib/traceback.py:149–153  ·  view source on GitHub ↗
(exc, file=None, /)

Source from the content-addressed store, hash-verified

147
148
149def _print_exception_bltin(exc, file=None, /):
150 if file is None:
151 file = sys.stderr if sys.stderr is not None else sys.__stderr__
152 colorize = _colorize.can_colorize(file=file)
153 return print_exception(exc, limit=BUILTIN_EXCEPTION_LIMIT, file=file, colorize=colorize)
154
155
156def format_exception(exc, /, value=_sentinel, tb=_sentinel, limit=None, \

Callers

nothing calls this directly

Calls 1

print_exceptionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…