Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ interrupt_self
Function
interrupt_self
Lib/test/test_asyncio/test_runners.py:18–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
17
18
def
interrupt_self():
19
_thread.interrupt_main()
20
21
22
class
TestPolicy(asyncio.events._AbstractEventLoopPolicy):
Callers
2
main
Method · 0.85
subtask
Method · 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…