(locals)
| 44 | |
| 45 | |
| 46 | def _ipython_pre_10(locals): # pragma: no cover |
| 47 | from IPython.frontend.terminal.ipapp import TerminalIPythonApp |
| 48 | app = TerminalIPythonApp.instance() |
| 49 | app.initialize(argv=[]) |
| 50 | app.shell.user_ns.update(locals) |
| 51 | app.start() |
| 52 | |
| 53 | |
| 54 | def _ipython_terminal(locals): # pragma: no cover |