MCPcopy Index your code
hub / github.com/bpython/bpython / _unload_code

Method _unload_code

bpython/curtsiesfrontend/coderunner.py:119–123  ·  view source on GitHub ↗

Called when done running code

(self)

Source from the content-addressed store, hash-verified

117 self.code_context = None
118
119 def _unload_code(self):
120 """Called when done running code"""
121 self.source = None
122 self.code_context = None
123 self.code_is_waiting = False
124
125 def run_code(self, for_code=None):
126 """Returns Truthy values if code finishes, False otherwise

Callers 1

run_codeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected