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

Method run

Lib/test/test_monitoring.py:2132–2135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2130 yield
2131
2132 def run():
2133 gen = outer()
2134 gen.send(None)
2135 gen.throw(Exception)
2136 run()
2137 self.assertEqual(caught, "inner")
2138 caught = None

Callers

nothing calls this directly

Calls 3

outerFunction · 0.70
sendMethod · 0.45
throwMethod · 0.45

Tested by

no test coverage detected