MCPcopy Index your code
hub / github.com/RustPython/RustPython / NonGen1

Class NonGen1

Lib/test/test_collections.py:1172–1176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1170
1171 def test_Generator(self):
1172 class NonGen1:
1173 def __iter__(self): return self
1174 def __next__(self): return None
1175 def close(self): pass
1176 def throw(self, typ, val=None, tb=None): pass
1177
1178 class NonGen2:
1179 def __iter__(self): return self

Callers 1

test_GeneratorMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_GeneratorMethod · 0.68