Print (or run through pager) the source code for an object.
(self, arg)
| 645 | self.shell.find_line_magic('pinfo2')(arg, namespaces=namespaces) |
| 646 | |
| 647 | def do_psource(self, arg): |
| 648 | """Print (or run through pager) the source code for an object.""" |
| 649 | namespaces = [('Locals', self.curframe.f_locals), |
| 650 | ('Globals', self.curframe.f_globals)] |
| 651 | self.shell.find_line_magic('psource')(arg, namespaces=namespaces) |
| 652 | |
| 653 | def do_where(self, arg): |
| 654 | """w(here) |
nothing calls this directly
no test coverage detected