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

Class CIter

extra_tests/snippets/builtin_list.py:618–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616
617# __iter__ yield
618class CIter:
619 def __init__(self, sec=(1, 2, 3)):
620 self.sec = sec
621
622 def __iter__(self):
623 for n in self.sec:
624 yield n
625
626
627x = list(range(10))

Callers 1

builtin_list.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected