MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _close

Method _close

tools/python-3.11.9-amd64/Lib/nntplib.py:921–927  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

919 return self._post('IHAVE {0}'.format(message_id), data)
920
921 def _close(self):
922 try:
923 if self.file:
924 self.file.close()
925 del self.file
926 finally:
927 self.sock.close()
928
929 def quit(self):
930 """Process a QUIT command and close the socket. Returns:

Callers 3

__exit__Method · 0.95
quitMethod · 0.95
closeMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected