Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ dictitem
Function
dictitem
django/utils/cache.py:47–52 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
45
""
"
46
47
def
dictitem(s):
48
t = s.split(
"="
, 1)
49
if
len(t) > 1:
50
return
(t[0].lower(), t[1])
51
else
:
52
return
(t[0].lower(), True)
53
54
def
dictvalue(*t):
55
if
t[1] is True:
Callers
1
patch_cache_control
Function · 0.85
Calls
1
split
Method · 0.45
Tested by
no test coverage detected