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

Class S

Lib/test/test_itertools.py:2194–2201  ·  view source on GitHub ↗

Test immediate stop

Source from the content-addressed store, hash-verified

2192 return v
2193
2194class S:
2195 'Test immediate stop'
2196 def __init__(self, seqn):
2197 pass
2198 def __iter__(self):
2199 return self
2200 def __next__(self):
2201 raise StopIteration
2202
2203def L(seqn):
2204 '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