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

Method set_ip

IPython/core/autocall.py:42–48  ·  view source on GitHub ↗

Will be used to set _ip point to current ipython instance b/f call Override this method if you don't want this to happen.

(self, ip)

Source from the content-addressed store, hash-verified

40 self._ip = ip
41
42 def set_ip(self, ip):
43 """ Will be used to set _ip point to current ipython instance b/f call
44
45 Override this method if you don't want this to happen.
46
47 """
48 self._ip = ip
49
50
51class ExitAutocall(IPyAutocall):

Callers 1

checkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected