MCPcopy 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
7054def secs(**kw):
7055 return datetime.timedelta(**kw) // datetime.timedelta(seconds=1)
7056
7057for when, exp in (('S', 1),
7058 ('M', 60),

Callers 2

test_logging.pyFile · 0.85
test_compute_rolloverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected