Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ utcoffset
Method
utcoffset
extra_tests/snippets/stdlib_datetime.py:99–100 ·
view source on GitHub ↗
(self, datetime_module)
Source
from the content-addressed store, hash-verified
97
98
class
_TZInfo(tzinfo):
99
def
utcoffset(self, datetime_module):
100
return
random.random()
101
102
103
# class TestTZInfo(unittest.TestCase):
Callers
1
stdlib_datetime.py
File · 0.45
Calls
1
random
Method · 0.45
Tested by
no test coverage detected