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

Method __call__

IPython/core/displayhook.py:321–325  ·  view source on GitHub ↗
(self, result=None)

Source from the content-addressed store, hash-verified

319 self.outputs = outputs
320
321 def __call__(self, result=None):
322 if result is None:
323 return
324 format_dict, md_dict = self.shell.display_formatter.format(result)
325 self.outputs.append({ 'data': format_dict, 'metadata': md_dict })

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected