Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ tzname
Method
tzname
Lib/test/datetimetester.py:6726–6727 ·
view source on GitHub ↗
(self, dt)
Source
from the content-addressed store, hash-verified
6724
return
ZERO
if
isdst
else
HOUR
6725
6726
def
tzname(self, dt):
6727
return
self._find_ti(dt, 2)
6728
6729
@classmethod
6730
def
zonenames(cls, zonedir=None):
Callers
15
test_pickling_subclass
Method · 0.45
test_str
Method · 0.45
test_tzname
Method · 0.45
test_aware_datetime
Method · 0.45
test_strptime
Method · 0.45
test_strptime_tz
Method · 0.45
test_argument_passing
Method · 0.45
test_tzinfo_classes
Method · 0.45
test_zones
Method · 0.45
test_pickling
Method · 0.45
test_compat_unpickle
Method · 0.45
test_replace
Method · 0.45
Calls
1
_find_ti
Method · 0.95
Tested by
no test coverage detected