Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ utcoffset
Method
utcoffset
Lib/test/datetimetester.py:149–150 ·
view source on GitHub ↗
(self, dt)
Source
from the content-addressed store, hash-verified
147
def
__repr__(self):
148
return
self.__name.lower()
149
def
utcoffset(self, dt):
150
return
self.__offset
151
def
tzname(self, dt):
152
return
self.__name
153
def
dst(self, dt):
Callers
2
test_normal
Method · 0.95
test_more_astimezone
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected