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

Function get_zoneinfo

Lib/test/test_zoneinfo/data/update_test_data.py:79–83  ·  view source on GitHub ↗
(key: str)

Source from the content-addressed store, hash-verified

77
78
79def get_zoneinfo(key: str) -> bytes:
80 path = get_zoneinfo_path()
81
82 with open(path / key, "rb") as f:
83 return f.read()
84
85
86def encode_compressed(data: bytes) -> typing.List[str]:

Callers 1

load_compressed_keysFunction · 0.85

Calls 3

get_zoneinfo_pathFunction · 0.85
openFunction · 0.50
readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…