Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ run
Method
run
Lib/trace.py:441–444 ·
view source on GitHub ↗
(self, cmd)
Source
from the content-addressed store, hash-verified
439
self.donothing = 1
440
441
def
run(self, cmd):
442
import
__main__
443
dict = __main__.__dict__
444
self.runctx(cmd, dict, dict)
445
446
def
runctx(self, cmd, globals=None, locals=None):
447
if
globals is None: globals = {}
Callers
nothing calls this directly
Calls
1
runctx
Method · 0.95
Tested by
no test coverage detected