(self, statement, globals, locals, filename, sort)
| 17 | self._show(prof, filename, sort) |
| 18 | |
| 19 | def runctx(self, statement, globals, locals, filename, sort): |
| 20 | prof = self.profiler() |
| 21 | try: |
| 22 | prof.runctx(statement, globals, locals) |
| 23 | except SystemExit: |
| 24 | pass |
| 25 | finally: |
| 26 | self._show(prof, filename, sort) |
| 27 | |
| 28 | def _show(self, prof, filename, sort): |
| 29 | if filename is not None: |