MCPcopy Index your code
hub / github.com/ipython/ipython / jedi_status

Function jedi_status

tests/test_completer.py:44–51  ·  view source on GitHub ↗
(status: bool)

Source from the content-addressed store, hash-verified

42
43@contextmanager
44def jedi_status(status: bool):
45 completer = get_ipython().Completer
46 try:
47 old = completer.use_jedi
48 completer.use_jedi = status
49 yield
50 finally:
51 completer.use_jedi = old
52
53
54# -----------------------------------------------------------------------------

Calls 1

get_ipythonFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…