MCPcopy Index your code
hub / github.com/python/cpython / close

Method close

Lib/idlelib/rpc.py:143–147  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

141 self.cvars = {}
142
143 def close(self):
144 sock = self.sock
145 self.sock = None
146 if sock is not None:
147 sock.close()
148
149 def exithook(self):
150 "override for specific exit action"

Callers 4

file_line_helperFunction · 0.45
grep_itMethod · 0.45
close_all_callbackMethod · 0.45
_tempfileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected