MCPcopy Index your code
hub / github.com/python/cpython / secs

Function secs

Lib/test/test_logging.py:7223–7224  ·  view source on GitHub ↗
(**kw)

Source from the content-addressed store, hash-verified

7221
7222
7223def secs(**kw):
7224 return datetime.timedelta(**kw) // datetime.timedelta(seconds=1)
7225
7226for when, exp in (('S', 1),
7227 ('M', 60),

Callers 2

test_logging.pyFile · 0.85
test_compute_rolloverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…