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

Method run

Lib/profiling/tracing/_utils.py:10–17  ·  view source on GitHub ↗
(self, statement, filename, sort)

Source from the content-addressed store, hash-verified

8 self.profiler = profiler
9
10 def run(self, statement, filename, sort):
11 prof = self.profiler()
12 try:
13 prof.run(statement)
14 except SystemExit:
15 pass
16 finally:
17 self._show(prof, filename, sort)
18
19 def runctx(self, statement, globals, locals, filename, sort):
20 prof = self.profiler()

Callers

nothing calls this directly

Calls 2

_showMethod · 0.95
profilerMethod · 0.80

Tested by

no test coverage detected