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

Method do_pinfo2

IPython/core/debugger.py:639–645  ·  view source on GitHub ↗

Provide extra detailed information about an object. The debugger interface to %pinfo2, i.e., obj??.

(self, arg)

Source from the content-addressed store, hash-verified

637 self.shell.find_line_magic('pinfo')(arg, namespaces=namespaces)
638
639 def do_pinfo2(self, arg):
640 """Provide extra detailed information about an object.
641
642 The debugger interface to %pinfo2, i.e., obj??."""
643 namespaces = [('Locals', self.curframe.f_locals),
644 ('Globals', self.curframe.f_globals)]
645 self.shell.find_line_magic('pinfo2')(arg, namespaces=namespaces)
646
647 def do_psource(self, arg):
648 """Print (or run through pager) the source code for an object."""

Callers

nothing calls this directly

Calls 1

find_line_magicMethod · 0.80

Tested by

no test coverage detected