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

Function itermulti

Lib/test/seq_tests.py:86–88  ·  view source on GitHub ↗

Test multiple tiers of iterators

(seqn)

Source from the content-addressed store, hash-verified

84
85from itertools import chain
86def itermulti(seqn):
87 'Test multiple tiers of iterators'
88 return chain(map(lambda x:x, iterfunc(IterGen(Sequence(seqn)))))
89
90class LyingTuple(tuple):
91 def __iter__(self):

Callers

nothing calls this directly

Calls 4

chainFunction · 0.85
iterfuncFunction · 0.85
IterGenClass · 0.85
SequenceClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…