(locals)
| 10 | |
| 11 | |
| 12 | def _invoke_fallback_shell(locals): |
| 13 | import code |
| 14 | try: |
| 15 | import readline |
| 16 | except ImportError: |
| 17 | pass |
| 18 | else: |
| 19 | import rlcompleter |
| 20 | readline.set_completer( |
| 21 | rlcompleter.Completer(locals).complete) |
| 22 | readline.parse_and_bind('tab:complete') |
| 23 | code.interact(local=locals) |
| 24 | |
| 25 | |
| 26 | def _invoke_bpython_shell(locals): |
no outgoing calls
no test coverage detected
searching dependent graphs…