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

Method __init__

IPython/core/tests/test_hooks.py:20–22  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

18# sets the attribute `called` to True when it is called.
19class Okay(object):
20 def __init__(self, message):
21 self.message = message
22 self.called = False
23 def __call__(self):
24 self.called = True
25 return self.message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected