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

Class MinimalGen

Lib/test/test_collections.py:1204–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1202 def throw(self, typ, val=None, tb=None): pass
1203
1204 class MinimalGen(Generator):
1205 def send(self, value):
1206 return value
1207 def throw(self, typ, val=None, tb=None):
1208 super().throw(typ, val, tb)
1209
1210 def gen():
1211 yield 1

Callers 1

test_GeneratorMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_GeneratorMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…