MCPcopy Create free account
hub / github.com/ipython/ipython / get_ipython

Function get_ipython

IPython/core/getipython.py:17–24  ·  view source on GitHub ↗

Get the global InteractiveShell instance. Returns None if no InteractiveShell instance is registered.

()

Source from the content-addressed store, hash-verified

15
16
17def get_ipython():
18 """Get the global InteractiveShell instance.
19
20 Returns None if no InteractiveShell instance is registered.
21 """
22 from IPython.core.interactiveshell import InteractiveShell
23 if InteractiveShell.initialized():
24 return InteractiveShell.instance()

Callers 15

__enter__Method · 0.90
pageFunction · 0.90
__init__Method · 0.90
__init__Method · 0.90
pageFunction · 0.90
get_root_modulesFunction · 0.90
quick_completerFunction · 0.90
cd_completerFunction · 0.90
test_repr_mimeFunction · 0.90

Calls

no outgoing calls

Tested by 15

test_repr_mimeFunction · 0.72
test_repr_mime_metaFunction · 0.72
test_repr_mime_failureFunction · 0.72
greedy_completionFunction · 0.72
test_latex_no_resultsMethod · 0.72