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

Method _disable_init_location

IPython/terminal/embed.py:137–139  ·  view source on GitHub ↗

Disable the current Instance creation location

(self)

Source from the content-addressed store, hash-verified

135 _inactive_locations: Set[str] = set()
136
137 def _disable_init_location(self):
138 """Disable the current Instance creation location"""
139 InteractiveShellEmbed._inactive_locations.add(self._init_location_id)
140
141 @property
142 def embedded_active(self):

Callers 1

kill_embeddedMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected