Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ interrupt_subprocess
Method
interrupt_subprocess
Lib/idlelib/pyshell.py:531–532 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
529
self.rpcclt.remotecall(
"exec"
,
"interrupt_the_server"
, (), {})
530
531
def
interrupt_subprocess(self):
532
threading.Thread(target=self.__request_interrupt).start()
533
534
def
kill_subprocess(self):
535
if
self._afterid is not None:
Callers
1
cancel_callback
Method · 0.80
Calls
1
start
Method · 0.45
Tested by
no test coverage detected