MCPcopy
hub / github.com/django/django / dictvalue

Function dictvalue

django/utils/cache.py:54–58  ·  view source on GitHub ↗
(*t)

Source from the content-addressed store, hash-verified

52 return (t[0].lower(), True)
53
54 def dictvalue(*t):
55 if t[1] is True:
56 return t[0]
57 else:
58 return "%s=%s" % (t[0], t[1])
59
60 cc = defaultdict(set)
61 if response.get("Cache-Control"):

Callers 1

patch_cache_controlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected