Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ IteratingSequenceClass
Class
IteratingSequenceClass
Lib/test/test_iter.py:44–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
return
self
43
44
class
IteratingSequenceClass:
45
def
__init__(self, n):
46
self.n = n
47
def
__iter__(self):
48
return
BasicIterClass(self.n)
49
50
class
IteratorProxyClass:
51
def
__init__(self, i):
Callers
6
test_iter_class_for
Method · 0.85
test_iter_class_iter
Method · 0.85
test_builtin_zip
Method · 0.85
test_in_and_not_in
Method · 0.85
test_indexOf
Method · 0.85
test_unpack_iter
Method · 0.85
Calls
no outgoing calls
Tested by
6
test_iter_class_for
Method · 0.68
test_iter_class_iter
Method · 0.68
test_builtin_zip
Method · 0.68
test_in_and_not_in
Method · 0.68
test_indexOf
Method · 0.68
test_unpack_iter
Method · 0.68