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

Method func1

IPython/core/tests/test_events.py:62–65  ·  view source on GitHub ↗
(*_)

Source from the content-addressed store, hash-verified

60 invoked = [False] * 3
61
62 def func1(*_):
63 invoked[0] = True
64 self.em.unregister('ping_received', func1)
65 self.em.register('ping_received', func3)
66
67 def func2(*_):
68 invoked[1] = True

Callers

nothing calls this directly

Calls 2

unregisterMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected