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

Method __init__

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

Source from the content-addressed store, hash-verified

219
220 @catch_config_error
221 def __init__(self, **kwargs):
222 super(BaseIPythonApplication, self).__init__(**kwargs)
223 # ensure current working directory exists
224 try:
225 os.getcwd()
226 except:
227 # exit if cwd doesn't exist
228 self.log.error("Current working directory doesn't exist.")
229 self.exit(1)
230
231 #-------------------------------------------------------------------------
232 # Various stages of Application creation

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected