Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ MinimalGen
Class
MinimalGen
Lib/test/test_collections.py:1203–1207 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1201
def
throw(self, typ, val=None, tb=None):
pass
1202
1203
class
MinimalGen(Generator):
1204
def
send(self, value):
1205
return
value
1206
def
throw(self, typ, val=None, tb=None):
1207
super().throw(typ, val, tb)
1208
1209
def
gen():
1210
yield
1
Callers
1
test_Generator
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_Generator
Method · 0.68