MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / print_tb

Function print_tb

Lib/traceback.py:46–72  ·  view source on GitHub ↗

Print up to 'limit' stack trace entries from the traceback 'tb'. If 'limit' is omitted or None, all entries are printed. If 'file' is omitted or None, the output goes to sys.stderr; otherwise 'file' should be an open file or file-like object with a write() method.

(tb, limit=None, file=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

print_exceptionFunction · 0.85

Calls 3

_printFunction · 0.85
stripMethod · 0.80
getlineMethod · 0.45

Tested by

no test coverage detected