Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grantjenks/python-sortedcontainers
/ __missing__
Method
__missing__
tests/benchmark_plot.py:32–34 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
30
31
class
TreeDict(OrderedDict):
32
def
__missing__(self, key):
33
self[key] = value = TreeDict()
34
return
value
35
36
def
order_kinds(kinds):
37
for
idx, kind in enumerate(kinds):
Callers
nothing calls this directly
Calls
1
TreeDict
Class · 0.85
Tested by
no test coverage detected