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

Method __iter__

Lib/test/test_iter.py:47–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 def __init__(self, n):
46 self.n = n
47 def __iter__(self):
48 return BasicIterClass(self.n)
49
50class IteratorProxyClass:
51 def __init__(self, i):

Callers

nothing calls this directly

Calls 1

BasicIterClassClass · 0.85

Tested by

no test coverage detected