MCPcopy Index your code
hub / github.com/RustPython/RustPython / f

Method f

Lib/test/test_yield_from.py:676–684  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

674 """
675 trace = []
676 def f(r):
677 gi = g(r)
678 next(gi)
679 try:
680 trace.append("f resuming g")
681 next(gi)
682 trace.append("f SHOULD NOT BE HERE")
683 except StopIteration as e:
684 trace.append("f caught %r" % (e,))
685 def g(r):
686 trace.append("g starting")
687 yield

Callers

nothing calls this directly

Calls 4

nextFunction · 0.85
gFunction · 0.70
appendMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected