(self, statement, globals, locals, filename, sort)
| 67 | self._show(prof, filename, sort) |
| 68 | |
| 69 | def runctx(self, statement, globals, locals, filename, sort): |
| 70 | prof = self.profiler() |
| 71 | try: |
| 72 | prof.runctx(statement, globals, locals) |
| 73 | except SystemExit: |
| 74 | pass |
| 75 | finally: |
| 76 | self._show(prof, filename, sort) |
| 77 | |
| 78 | def _show(self, prof, filename, sort): |
| 79 | if filename is not None: |