MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / runctx

Method runctx

tools/python-3.11.9-amd64/Lib/profile.py:60–67  ·  view source on GitHub ↗
(self, statement, globals, locals, filename, sort)

Source from the content-addressed store, hash-verified

58 self._show(prof, filename, sort)
59
60 def runctx(self, statement, globals, locals, filename, sort):
61 prof = self.profiler()
62 try:
63 prof.runctx(statement, globals, locals)
64 except SystemExit:
65 pass
66 finally:
67 self._show(prof, filename, sort)
68
69 def _show(self, prof, filename, sort):
70 if filename is not None:

Callers 1

runctxFunction · 0.45

Calls 1

_showMethod · 0.95

Tested by

no test coverage detected