(self, statement, globals, locals, filename, sort)
| 58 | self._show(prof, filename, sort) |
| 59 | |
| 60 | def runctx(self, statement, globals, locals, filename, sort): |
| 61 | prof = self.profiler() |
| 62 | try: |
| 63 | prof.runctx(statement, globals, locals) |
| 64 | except SystemExit: |
| 65 | pass |
| 66 | finally: |
| 67 | self._show(prof, filename, sort) |
| 68 | |
| 69 | def _show(self, prof, filename, sort): |
| 70 | if filename is not None: |