Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ hash_style
Function
hash_style
recipes/Python/577978_Text_Model/recipe-577978.py:1–2 ·
view source on GitHub ↗
(style)
Source
from the content-addressed store, hash-verified
1
def
hash_style(style):
2
return
tuple(sorted(style.items()))
3
4
style_pool = {}
5
defaultstyle = {}
Callers
1
create_style
Function · 0.85
Calls
2
sorted
Function · 0.50
items
Method · 0.45
Tested by
no test coverage detected