Call the function (a function or method object, not a string) with the given arguments. When runcall() returns, it returns whatever the function call returned. The debugger prompt appears as soon as the function is entered.
(*args, **kwds)
| 2697 | run(statement, globals, locals) |
| 2698 | |
| 2699 | def runcall(*args, **kwds): |
| 2700 | """Call the function (a function or method object, not a string) |
| 2701 | with the given arguments. |
| 2702 | |
| 2703 | When runcall() returns, it returns whatever the function call |
| 2704 | returned. The debugger prompt appears as soon as the function is |
| 2705 | entered. |
| 2706 | """ |
| 2707 | return Pdb().runcall(*args, **kwds) |
| 2708 | |
| 2709 | def set_trace(*, header=None, commands=None): |
| 2710 | """Enter the debugger at the calling stack frame. |