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

Method _UTC_bytes

Lib/test/test_zoneinfo/test_zoneinfo.py:1944–1947  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1942
1943 @cached_property
1944 def _UTC_bytes(self):
1945 zone_file = self.zoneinfo_data.path_from_key("UTC")
1946 with open(zone_file, "rb") as f:
1947 return f.read()
1948
1949 def touch_zone(self, key, tz_root):
1950 """Creates a valid TZif file at key under the zoneinfo root tz_root.

Callers

nothing calls this directly

Calls 3

path_from_keyMethod · 0.80
openFunction · 0.50
readMethod · 0.45

Tested by

no test coverage detected