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

Function chain

Tools/c-analyzer/c_common/iterutil.py:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 except StopIteration:
8 return None, None
9 def chain():
10 yield peeked
11 yield from items
12 return chain(), peeked
13
14

Callers 15

_group_lengthsFunction · 0.85
_pylong.pyFile · 0.85
relative_toMethod · 0.85
test_mergeMethod · 0.85
LFunction · 0.85
itermultiFunction · 0.85
LFunction · 0.85
test_batchedMethod · 0.85
test_chainMethod · 0.85
test_chainMethod · 0.85
LFunction · 0.85
test_chainMethod · 0.85

Calls

no outgoing calls

Tested by 13

test_mergeMethod · 0.68
LFunction · 0.68
itermultiFunction · 0.68
LFunction · 0.68
test_batchedMethod · 0.68
test_chainMethod · 0.68
test_chainMethod · 0.68
LFunction · 0.68
test_chainMethod · 0.68
test_sf_950057Method · 0.68
setUpMethod · 0.68
test_chainMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…