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

Method quit

Lib/ftplib.py:651–655  ·  view source on GitHub ↗

Quit, and close the connection.

(self)

Source from the content-addressed store, hash-verified

649 return parse257(resp)
650
651 def quit(self):
652 '''Quit, and close the connection.'''
653 resp = self.voidcmd('QUIT')
654 self.close()
655 return resp
656
657 def close(self):
658 '''Close the connection without assuming anything about it.'''

Callers 4

__exit__Method · 0.95
testFunction · 0.95
email-simple.pyFile · 0.45
showSelectedErrorMethod · 0.45

Calls 2

voidcmdMethod · 0.95
closeMethod · 0.95

Tested by 1

showSelectedErrorMethod · 0.36