Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ secs
Function
secs
Lib/test/test_logging.py:7054–7055 ·
view source on GitHub ↗
(**kw)
Source
from the content-addressed store, hash-verified
7052
7053
7054
def
secs(**kw):
7055
return
datetime.timedelta(**kw) // datetime.timedelta(seconds=1)
7056
7057
for
when, exp in ((
'S'
, 1),
7058
(
'M'
, 60),
Callers
2
test_logging.py
File · 0.85
test_compute_rollover
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected