MCPcopy Index your code
hub / github.com/python/cpython / run

Method run

Lib/profile.py:60–67  ·  view source on GitHub ↗
(self, statement, filename, sort)

Source from the content-addressed store, hash-verified

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

Callers 1

runFunction · 0.45

Calls 2

_showMethod · 0.95
profilerMethod · 0.80

Tested by

no test coverage detected