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

Method stop_trace

Lib/bdb.py:69–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 self._enabled = True
68
69 def stop_trace(self):
70 self._enabled = False
71 self._tracing_thread = None
72 curr_tool = sys.monitoring.get_tool(self._tool_id)
73 if curr_tool != self._name:
74 return
75 sys.monitoring.clear_tool_id(self._tool_id)
76 sys.monitoring.free_tool_id(self._tool_id)
77
78 def disable_current_event(self):
79 self._disable_current_event = True

Callers 1

wrapperMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected