(self, cmd, globals, locals)
| 417 | return self.runctx(cmd, dict, dict) |
| 418 | |
| 419 | def runctx(self, cmd, globals, locals): |
| 420 | self.set_cmd(cmd) |
| 421 | sys.setprofile(self.dispatcher) |
| 422 | try: |
| 423 | exec(cmd, globals, locals) |
| 424 | finally: |
| 425 | sys.setprofile(None) |
| 426 | return self |
| 427 | |
| 428 | # This method is more useful to profile a single function call. |
| 429 | def runcall(self, func, /, *args, **kw): |
no test coverage detected