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

Method do_pinfo2

IPython/core/debugger.py:1047–1056  ·  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

1045 self.shell.find_line_magic("pinfo")(arg, namespaces=namespaces)
1046
1047 def do_pinfo2(self, arg):
1048 """Provide extra detailed information about an object.
1049
1050 The debugger interface to %pinfo2, i.e., obj??."""
1051 assert self.curframe is not None
1052 namespaces = [
1053 ("Locals", self.curframe_locals),
1054 ("Globals", self.curframe.f_globals),
1055 ]
1056 self.shell.find_line_magic("pinfo2")(arg, namespaces=namespaces)
1057
1058 def do_psource(self, arg):
1059 """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