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

Method f

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

gFunction · 0.70
appendMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected