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

Method show

IPython/utils/capture.py:112–119  ·  view source on GitHub ↗

write my output to sys.stdout/err as appropriate

(self)

Source from the content-addressed store, hash-verified

110 return [ RichOutput(**kargs) for kargs in self._outputs ]
111
112 def show(self):
113 """write my output to sys.stdout/err as appropriate"""
114 sys.stdout.write(self.stdout)
115 sys.stderr.write(self.stderr)
116 sys.stdout.flush()
117 sys.stderr.flush()
118 for kargs in self._outputs:
119 RichOutput(**kargs).display()
120
121 __call__ = show
122

Callers

nothing calls this directly

Calls 4

RichOutputClass · 0.85
writeMethod · 0.45
flushMethod · 0.45
displayMethod · 0.45

Tested by

no test coverage detected