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

Method __call__

IPython/core/prompts.py:13–15  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

11 self.kwargs = kwargs
12
13 def __call__(self, **kwargs):
14 self.kwargs.update(kwargs)
15 return self.func(*self.args, **self.kwargs)
16
17 def __str__(self):
18 return str(self())

Callers

nothing calls this directly

Calls 2

funcMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected