MCPcopy Index your code
hub / github.com/python/cpython / IteratorProxyClass

Class IteratorProxyClass

Lib/test/test_iter.py:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 return BasicIterClass(self.n)
49
50class IteratorProxyClass:
51 def __init__(self, i):
52 self.i = i
53 def __next__(self):
54 return next(self.i)
55 def __iter__(self):
56 return self
57
58class SequenceClass:
59 def __init__(self, n):

Callers 1

test_in_and_not_inMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_in_and_not_inMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…