Print the docstring for an object. The debugger interface to %pdoc.
(self, arg)
| 612 | self.shell.find_line_magic('pdef')(arg, namespaces=namespaces) |
| 613 | |
| 614 | def do_pdoc(self, arg): |
| 615 | """Print the docstring for an object. |
| 616 | |
| 617 | The debugger interface to %pdoc.""" |
| 618 | namespaces = [('Locals', self.curframe.f_locals), |
| 619 | ('Globals', self.curframe.f_globals)] |
| 620 | self.shell.find_line_magic('pdoc')(arg, namespaces=namespaces) |
| 621 | |
| 622 | def do_pfile(self, arg): |
| 623 | """Print (or run through pager) the file where an object is defined. |
nothing calls this directly
no test coverage detected