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

Function wrap_info

Lib/idlelib/debugger_r.py:45–55  ·  view source on GitHub ↗

replace info[2], a traceback instance, by its ID

(info)

Source from the content-addressed store, hash-verified

43 return fid
44
45def wrap_info(info):
46 "replace info[2], a traceback instance, by its ID"
47 if info is None:
48 return None
49 else:
50 traceback = info[2]
51 assert isinstance(traceback, types.TracebackType)
52 traceback_id = id(traceback)
53 tracebacktable[traceback_id] = traceback
54 modified_info = (info[0], info[1], traceback_id)
55 return modified_info
56
57class GUIProxy:
58

Callers 1

interactionMethod · 0.85

Calls 1

idFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…