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

Method do_pinfo

IPython/core/debugger.py:631–637  ·  view source on GitHub ↗

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

(self, arg)

Source from the content-addressed store, hash-verified

629 self.shell.find_line_magic('pfile')(arg, namespaces=namespaces)
630
631 def do_pinfo(self, arg):
632 """Provide detailed information about an object.
633
634 The debugger interface to %pinfo, i.e., obj?."""
635 namespaces = [('Locals', self.curframe.f_locals),
636 ('Globals', self.curframe.f_globals)]
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.

Callers

nothing calls this directly

Calls 1

find_line_magicMethod · 0.80

Tested by

no test coverage detected