Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-535160.py
File
recipe-535160.py
recipes/Python/535160_Iterator_merge_2/recipe-535160.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
itermerge( *iters ):
2
''
&
#x27;Merge multiple sorted inputs into a single sorted output.
3
4
Equivalent to: sorted(itertools.chain(*iterables))
Callers
nothing calls this directly
Calls
4
test_data
Function · 0.85
list
Class · 0.85
test
Function · 0.70
sort
Method · 0.45
Tested by
no test coverage detected