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

Method _disable_init_location

IPython/terminal/embed.py:133–135  ·  view source on GitHub ↗

Disable the current Instance creation location

(self)

Source from the content-addressed store, hash-verified

131 and (self._init_location_id not in InteractiveShellEmbed._inactive_locations)
132
133 def _disable_init_location(self):
134 """Disable the current Instance creation location"""
135 InteractiveShellEmbed._inactive_locations.add(self._init_location_id)
136
137 @embedded_active.setter
138 def embedded_active(self, value):

Callers 1

kill_embeddedMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected