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

Function handle_error

Lib/test/test_ssl.py:263–266  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

261
262
263def handle_error(prefix):
264 exc_format = ' '.join(traceback.format_exception(sys.exception()))
265 if support.verbose:
266 sys.stdout.write(prefix + exc_format)
267
268
269def utc_offset(): #NOTE: ignore issues like #1647654

Callers 2

wrap_connMethod · 0.85
runMethod · 0.85

Calls 3

joinMethod · 0.45
exceptionMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…