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

Class S

Lib/test/test_itertools.py:2146–2153  ·  view source on GitHub ↗

Test immediate stop

Source from the content-addressed store, hash-verified

2144 return v
2145
2146class S:
2147 'Test immediate stop'
2148 def __init__(self, seqn):
2149 pass
2150 def __iter__(self):
2151 return self
2152 def __next__(self):
2153 raise StopIteration
2154
2155def L(seqn):
2156 'Test multiple tiers of iterators'

Callers 2

test_accumulateMethod · 0.70
test_batchedMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_accumulateMethod · 0.56
test_batchedMethod · 0.56