Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ exithook
Method
exithook
Lib/idlelib/rpc.py:149–151 ·
view source on GitHub ↗
override for specific exit action
(self)
Source
from the content-addressed store, hash-verified
147
sock.close()
148
149
def
exithook(self):
150
"override for specific exit action"
151
os._exit(0)
152
153
def
debug(self, *args):
154
if
not self.debugging:
Callers
1
handle_EOF
Method · 0.95
Calls
1
_exit
Method · 0.45
Tested by
no test coverage detected