Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ add_signal_handler
Method
add_signal_handler
Lib/asyncio/events.py:628–629 ·
view source on GitHub ↗
(self, sig, callback, *args)
Source
from the content-addressed store, hash-verified
626
# Signal handling.
627
628
def
add_signal_handler(self, sig, callback, *args):
629
raise
NotImplementedError
630
631
def
remove_signal_handler(self, sig):
632
raise
NotImplementedError
Callers
13
test_add_signal_handler
Method · 0.45
test_signal_handling_while_selecting
Method · 0.45
test_signal_handling_args
Method · 0.45
test_close
Method · 0.45
test_add_signal_handler
Method · 0.45
test_remove_signal_handler
Method · 0.45
test_remove_signal_handler_2
Method · 0.45
test_remove_signal_handler_cleanup_error
Method · 0.45
test_remove_signal_handler_error
Method · 0.45
test_remove_signal_handler_error2
Method · 0.45
test_close
Method · 0.45
test_close_on_finalizing
Method · 0.45
Calls
no outgoing calls
Tested by
13
test_add_signal_handler
Method · 0.36
test_signal_handling_while_selecting
Method · 0.36
test_signal_handling_args
Method · 0.36
test_close
Method · 0.36
test_add_signal_handler
Method · 0.36
test_remove_signal_handler
Method · 0.36
test_remove_signal_handler_2
Method · 0.36
test_remove_signal_handler_cleanup_error
Method · 0.36
test_remove_signal_handler_error
Method · 0.36
test_remove_signal_handler_error2
Method · 0.36
test_close
Method · 0.36
test_close_on_finalizing
Method · 0.36