MCPcopy
hub / github.com/celery/celery / _invoke_fallback_shell

Function _invoke_fallback_shell

celery/bin/shell.py:12–23  ·  view source on GitHub ↗
(locals)

Source from the content-addressed store, hash-verified

10
11
12def _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
26def _invoke_bpython_shell(locals):

Callers 2

_invoke_default_shellFunction · 0.85
shellFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…