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

Method print_exc

Lib/timeit.py:151–176  ·  view source on GitHub ↗

Helper to print a traceback from the timed code. Typical use: t = Timer(...) # outside the try/except try: t.timeit(...) # or t.repeat(...) except: t.print_exc() The advantage over the standard traceback

(self, file=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

mainFunction · 0.95
handle_errorMethod · 0.80
start_new_threadFunction · 0.80
testFunction · 0.80
mainFunction · 0.80
_run_exitfuncsFunction · 0.80
handleMethod · 0.80
_lowlevelhandlerMethod · 0.80
__openfilesMethod · 0.80
installedMethod · 0.80
lowlevelhandlerMethod · 0.80

Calls 1

splitMethod · 0.80

Tested by 1

testChunkFunction · 0.64