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

Method tzname

Doc/includes/tzinfo_examples.py:124–128  ·  view source on GitHub ↗
(self, when)

Source from the content-addressed store, hash-verified

122 return self.reprname
123
124 def tzname(self, when):
125 if self.dst(when):
126 return self.dstname
127 else:
128 return self.stdname
129
130 def utcoffset(self, when):
131 return self.stdoffset + self.dst(when)

Callers

nothing calls this directly

Calls 1

dstMethod · 0.95

Tested by

no test coverage detected