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

Method run

Lib/profile.py:424–427  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

422 # a profiler to profile a statement, given as a string.
423
424 def run(self, cmd):
425 import __main__
426 dict = __main__.__dict__
427 return self.runctx(cmd, dict, dict)
428
429 def runctx(self, cmd, globals, locals):
430 self.set_cmd(cmd)

Callers

nothing calls this directly

Calls 1

runctxMethod · 0.95

Tested by

no test coverage detected