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

Method _unpickle

Lib/zoneinfo/_zoneinfo.py:220–224  ·  view source on GitHub ↗
(cls, key, from_cache, /)

Source from the content-addressed store, hash-verified

218
219 @classmethod
220 def _unpickle(cls, key, from_cache, /):
221 if from_cache:
222 return cls(key)
223 else:
224 return cls.no_cache(key)
225
226 def _find_tzfile(self, key):
227 return _tzpath.find_tzfile(key)

Callers

nothing calls this directly

Calls 2

no_cacheMethod · 0.80
clsClass · 0.50

Tested by

no test coverage detected