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

Method object_inspect_text

IPython/core/interactiveshell.py:1777–1779  ·  view source on GitHub ↗

Get object info as formatted text

(self, oname, detail_level=0)

Source from the content-addressed store, hash-verified

1775 return oinspect.object_info(name=oname, found=False)
1776
1777 def object_inspect_text(self, oname, detail_level=0):
1778 """Get object info as formatted text"""
1779 return self.object_inspect_mime(oname, detail_level)['text/plain']
1780
1781 def object_inspect_mime(self, oname, detail_level=0):
1782 """Get object info as a mimebundle of formatted representations.

Callers 1

test_inspect_textMethod · 0.80

Calls 1

object_inspect_mimeMethod · 0.95

Tested by 1

test_inspect_textMethod · 0.64