MCPcopy Index your code
hub / github.com/python/cpython / _load_timedelta

Function _load_timedelta

Lib/zoneinfo/_zoneinfo.py:26–27  ·  view source on GitHub ↗
(seconds)

Source from the content-addressed store, hash-verified

24# of memory.
25@functools.lru_cache(maxsize=512)
26def _load_timedelta(seconds):
27 return timedelta(seconds=seconds)
28
29
30class ZoneInfo(tzinfo):

Callers 3

_load_fileMethod · 0.85
__init__Method · 0.85
_parse_tz_strFunction · 0.85

Calls 1

timedeltaClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…