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

Method g2

Lib/test/test_yield_from.py:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 yield from g2()
29 trace.append("Finishing g1")
30 def g2():
31 trace.append("Starting g2")
32 yield 42
33 trace.append("Finishing g2")
34 for x in g1():
35 trace.append("Yielded %s" % (x,))
36 self.assertEqual(trace,[

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected