MCPcopy Index your code
hub / github.com/ipython/ipython / show

Method show

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

write my output to sys.stdout/err as appropriate

(self)

Source from the content-addressed store, hash-verified

117 return [ RichOutput(**kargs) for kargs in self._outputs ]
118
119 def show(self):
120 """write my output to sys.stdout/err as appropriate"""
121 sys.stdout.write(self.stdout)
122 sys.stderr.write(self.stderr)
123 sys.stdout.flush()
124 sys.stderr.flush()
125 for kargs in self._outputs:
126 RichOutput(**kargs).display()
127
128 __call__ = show
129

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