Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _key
Function
_key
numpy/core/code_generators/genapi.py:457–458 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
455
""
"Order dict by its values."
""
456
o = list(d.items())
457
def
_key(x):
458
return
x[1] + (x[0],)
459
return
sorted(o, key=_key)
460
461
def
merge_api_dicts(dicts):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected