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

Method quit

tools/python-3.11.9-amd64/Lib/ftplib.py:657–661  ·  view source on GitHub ↗

Quit, and close the connection.

(self)

Source from the content-addressed store, hash-verified

655 return parse257(resp)
656
657 def quit(self):
658 '''Quit, and close the connection.'''
659 resp = self.voidcmd('QUIT')
660 self.close()
661 return resp
662
663 def close(self):
664 '''Close the connection without assuming anything about it.'''

Callers 4

__exit__Method · 0.95
testFunction · 0.95
cancelMethod · 0.45
stepMethod · 0.45

Calls 2

voidcmdMethod · 0.95
closeMethod · 0.95

Tested by

no test coverage detected