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

Method __init__

IPython/utils/syspathcontext.py:45–46  ·  view source on GitHub ↗
(self, dir)

Source from the content-addressed store, hash-verified

43 """A context for prepending a directory to sys.path for a second."""
44
45 def __init__(self, dir):
46 self.dir = dir
47
48 def __enter__(self):
49 if self.dir not in sys.path:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected