MCPcopy
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
441def _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_ageFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected