Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ _to_tuple
Function
_to_tuple
django/utils/cache.py:441–445 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
439
440
441
def
_to_tuple(s):
442
t = s.split(
"="
, 1)
443
if
len(t) == 2:
444
return
t[0].lower(), t[1]
445
return
t[0].lower(), True
Callers
1
get_max_age
Function · 0.85
Calls
1
split
Method · 0.45
Tested by
no test coverage detected