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

Method do_pinfo

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

1034 self.shell.find_line_magic("pfile")(arg, namespaces=namespaces)
1035
1036 def do_pinfo(self, arg):
1037 """Provide detailed information about an object.
1038
1039 The debugger interface to %pinfo, i.e., obj?."""
1040 assert self.curframe is not None
1041 namespaces = [
1042 ("Locals", self.curframe_locals),
1043 ("Globals", self.curframe.f_globals),
1044 ]
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.

Callers

nothing calls this directly

Calls 1

find_line_magicMethod · 0.80

Tested by

no test coverage detected