Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ zone_from_key
Method
zone_from_key
Lib/test/test_zoneinfo/test_zoneinfo.py:146–147 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
144
return
[self.zoneinfo_data.tzpath]
145
146
def
zone_from_key(self, key):
147
return
self.klass(key)
148
149
def
zones(self):
150
return
ZoneDumpData.transition_keys()
Callers
7
test_str
Method · 0.95
test_fromutc_errors
Method · 0.95
test_unambiguous
Method · 0.95
test_folds_and_gaps
Method · 0.95
test_folds_from_utc
Method · 0.95
test_time_variable_offset
Method · 0.95
test_time_fixed_offset
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected