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

Method initialize

IPython/core/application.py:479–493  ·  view source on GitHub ↗
(self, argv=None)

Source from the content-addressed store, hash-verified

477
478 @catch_config_error
479 def initialize(self, argv=None):
480 # don't hook up crash handler before parsing command-line
481 self.parse_command_line(argv)
482 self.init_crash_handler()
483 if self.subapp is not None:
484 # stop here if subapp is taking over
485 return
486 # save a copy of CLI config to re-load after config files
487 # so that it has highest priority
488 cl_config = deepcopy(self.config)
489 self.init_profile_dir()
490 self.init_config_files()
491 self.load_config_file()
492 # enforce cl-opts override configfile opts:
493 self.update_config(cl_config)

Callers

nothing calls this directly

Calls 5

init_crash_handlerMethod · 0.95
init_profile_dirMethod · 0.95
init_config_filesMethod · 0.95
load_config_fileMethod · 0.95
parse_command_lineMethod · 0.45

Tested by

no test coverage detected