Print (or run through pager) the file where an object is defined. The debugger interface to %pfile.
(self, arg)
| 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. |
| 624 | |
| 625 | The debugger interface to %pfile. |
| 626 | """ |
| 627 | namespaces = [('Locals', self.curframe.f_locals), |
| 628 | ('Globals', self.curframe.f_globals)] |
| 629 | self.shell.find_line_magic('pfile')(arg, namespaces=namespaces) |
| 630 | |
| 631 | def do_pinfo(self, arg): |
| 632 | """Provide detailed information about an object. |
nothing calls this directly
no test coverage detected