(self, cmd, globals, locals)
| 427 | return self.runctx(cmd, dict, dict) |
| 428 | |
| 429 | def runctx(self, cmd, globals, locals): |
| 430 | self.set_cmd(cmd) |
| 431 | sys.setprofile(self.dispatcher) |
| 432 | try: |
| 433 | exec(cmd, globals, locals) |
| 434 | finally: |
| 435 | sys.setprofile(None) |
| 436 | return self |
| 437 | |
| 438 | # This method is more useful to profile a single function call. |
| 439 | def runcall(self, func, /, *args, **kw): |
no test coverage detected