MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / build

Function build

tools/gen.py:33–40  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

31
32
33def build(headers):
34 dct = defaultdict(factory)
35 for hdr in headers:
36 d = dct
37 for ch in hdr:
38 d = d[ch]
39 d[TERMINAL] = hdr
40 return dct
41
42
43dct = build(headers)

Callers 1

gen.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected