MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / init_mpl_in_console

Function init_mpl_in_console

pydevconsole.py:160–170  ·  view source on GitHub ↗
(interpreter)

Source from the content-addressed store, hash-verified

158
159
160def init_mpl_in_console(interpreter):
161 init_set_return_control_back(interpreter)
162
163 if not INTERACTIVE_MODE_AVAILABLE:
164 return
165
166 activate_mpl_if_already_imported(interpreter)
167 from _pydev_bundle.pydev_import_hook import import_hook_manager
168
169 for mod in list(interpreter.mpl_modules_for_patching):
170 import_hook_manager.add_module_name(mod, interpreter.mpl_modules_for_patching.pop(mod))
171
172
173if sys.platform != "win32":

Callers 2

process_exec_queueFunction · 0.85

Calls 4

add_module_nameMethod · 0.80
popMethod · 0.80

Tested by

no test coverage detected