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

Method __init__

IPython/core/application.py:259–267  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

257
258 @catch_config_error
259 def __init__(self, **kwargs):
260 super(BaseIPythonApplication, self).__init__(**kwargs)
261 # ensure current working directory exists
262 try:
263 os.getcwd()
264 except:
265 # exit if cwd doesn't exist
266 self.log.error("Current working directory doesn't exist.")
267 self.exit(1)
268
269 #-------------------------------------------------------------------------
270 # Various stages of Application creation

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected