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

Method run

Lib/profiling/tracing/__init__.py:109–112  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

107 # a profiler to profile a statement, given as a string.
108
109 def run(self, cmd):
110 import __main__
111 dict = __main__.__dict__
112 return self.runctx(cmd, dict, dict)
113
114 def runctx(self, cmd, globals, locals):
115 self.enable()

Callers 1

runFunction · 0.45

Calls 1

runctxMethod · 0.95

Tested by

no test coverage detected