Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ send
Method
send
Lib/test/test_yield_from.py:1048–1051 ·
view source on GitHub ↗
(self, what)
Source
from the content-addressed store, hash-verified
1046
def
__next__(self):
1047
return
42
1048
def
send(self, what):
1049
nonlocal v
1050
v = what
1051
return
None
1052
def
outer():
1053
v =
yield
from
MyGen()
1054
g = outer()
Callers
9
test_delegation_of_send
Method · 0.45
run
Method · 0.45
test_conversion_of_sendNone_to_next
Method · 0.45
test_attempting_to_send_to_non_generator
Method · 0.45
test_broken_getattr_handling
Method · 0.45
f
Method · 0.45
test_delegating_generators_claim_to_be_running
Method · 0.45
test_close_with_cleared_frame
Method · 0.45
test_send_tuple_with_custom_generator
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected