Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ g
Method
g
Lib/test/test_yield_from.py:432–433 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
430
""
"
431
trace = []
432
def
g():
433
yield
from
range(3)
434
for
x in g():
435
trace.append(
"Yielded %s"
% (x,))
436
self.assertEqual(trace,[
Callers
nothing calls this directly
Calls
3
Broken
Class · 0.70
f
Function · 0.70
append
Method · 0.45
Tested by
no test coverage detected