Print the call signature for any callable object. The debugger interface to %pdef
(self, arg)
| 604 | self.lastcmd = p.lastcmd |
| 605 | |
| 606 | def do_pdef(self, arg): |
| 607 | """Print the call signature for any callable object. |
| 608 | |
| 609 | The debugger interface to %pdef""" |
| 610 | namespaces = [('Locals', self.curframe.f_locals), |
| 611 | ('Globals', self.curframe.f_globals)] |
| 612 | self.shell.find_line_magic('pdef')(arg, namespaces=namespaces) |
| 613 | |
| 614 | def do_pdoc(self, arg): |
| 615 | """Print the docstring for an object. |
nothing calls this directly
no test coverage detected