MCPcopy Index your code
hub / github.com/python/mypy / merge_deps

Function merge_deps

misc/diff-cache.py:34–36  ·  view source on GitHub ↗
(all: dict[str, set[str]], new: dict[str, set[str]])

Source from the content-addressed store, hash-verified

32
33
34def merge_deps(all: dict[str, set[str]], new: dict[str, set[str]]) -> None:
35 for k, v in new.items():
36 all.setdefault(k, set()).update(v)
37
38
39def sort_deps(

Callers 1

mainFunction · 0.85

Calls 4

setClass · 0.85
setdefaultMethod · 0.80
itemsMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…