MCPcopy Index your code
hub / github.com/python/cpython / 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
44class IteratingSequenceClass:
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 6

test_iter_class_forMethod · 0.85
test_iter_class_iterMethod · 0.85
test_builtin_zipMethod · 0.85
test_in_and_not_inMethod · 0.85
test_indexOfMethod · 0.85
test_unpack_iterMethod · 0.85

Calls

no outgoing calls

Tested by 6

test_iter_class_forMethod · 0.68
test_iter_class_iterMethod · 0.68
test_builtin_zipMethod · 0.68
test_in_and_not_inMethod · 0.68
test_indexOfMethod · 0.68
test_unpack_iterMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…