MCPcopy Index your code
hub / github.com/RustPython/RustPython / signal

Function signal

Lib/signal.py:57–59  ·  view source on GitHub ↗
(signalnum, handler)

Source from the content-addressed store, hash-verified

55
56@_wraps(_signal.signal)
57def signal(signalnum, handler):
58 handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
59 return _int_to_enum(handler, Handlers)
60
61
62@_wraps(_signal.getsignal)

Callers

nothing calls this directly

Calls 2

_enum_to_intFunction · 0.85
_int_to_enumFunction · 0.85

Tested by

no test coverage detected