Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ new_handler
Method
new_handler
Lib/test/test_unittest/test_break.py:162–163 ·
view source on GitHub ↗
(frame, signum)
Source
from the content-addressed store, hash-verified
160
161
handler = signal.getsignal(signal.SIGINT)
162
def
new_handler(frame, signum):
163
handler(frame, signum)
164
signal.signal(signal.SIGINT, new_handler)
165
166
try
:
Callers
nothing calls this directly
Calls
1
handler
Function · 0.85
Tested by
no test coverage detected