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

Method set_cmd

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

Source from the content-addressed store, hash-verified

351 # very nice :-).
352
353 def set_cmd(self, cmd):
354 if self.cur[-1]: return # already set
355 self.cmd = cmd
356 self.simulate_call(cmd)
357
358 class fake_code:
359 def __init__(self, filename, line, name):

Callers 2

runctxMethod · 0.95
runcallMethod · 0.95

Calls 1

simulate_callMethod · 0.95

Tested by

no test coverage detected