(self)
| 11 | class PythonREPL: |
| 12 | """Simulates a standalone Python REPL.""" |
| 13 | def __init__(self) -> None: |
| 14 | self.globals: Optional[Dict] = globals() |
| 15 | self.locals: Optional[Dict] = None |
| 16 | |
| 17 | def run(self, command: str) -> str: |
| 18 | """Run command with own globals/locals and returns anything printed.""" |
nothing calls this directly
no outgoing calls
no test coverage detected