Prep code to be run
(self, source)
| 109 | return self.source and self.code_context |
| 110 | |
| 111 | def load_code(self, source): |
| 112 | """Prep code to be run""" |
| 113 | assert self.source is None, ( |
| 114 | "you shouldn't load code when some is " "already running" |
| 115 | ) |
| 116 | self.source = source |
| 117 | self.code_context = None |
| 118 | |
| 119 | def _unload_code(self): |
| 120 | """Called when done running code""" |
no outgoing calls