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

Method __init__

IPython/core/prompts.py:8–11  ·  view source on GitHub ↗
(self, func, *args, **kwargs)

Source from the content-addressed store, hash-verified

6 """This is used for formatting strings with values that need to be updated
7 at that time, such as the current time or working directory."""
8 def __init__(self, func, *args, **kwargs):
9 self.func = func
10 self.args = args
11 self.kwargs = kwargs
12
13 def __call__(self, **kwargs):
14 self.kwargs.update(kwargs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected