Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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)
26
def
_load_timedelta(seconds):
27
return
timedelta(seconds=seconds)
28
29
30
class
ZoneInfo(tzinfo):
Callers
3
_load_file
Method · 0.85
__init__
Method · 0.85
_parse_tz_str
Function · 0.85
Calls
1
timedelta
Class · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…