parameters: (self)
return_statement: return resp
docstring: Signoff: commit changes on server, unlock mailbox, close connection.
docstring_summary: Signoff: commit changes on server, unlock mailbox, close connection.
docstring_tokens: Signoff : commit changes on server unlock mailbox close connection .
function: def quit(self):
          """Signoff: commit changes on server, unlock mailbox, close connection."""
          try:
              resp = self._shortcmd('QUIT')
          except error_proto, val:
              resp = val
          self.file.close()
          self.sock.close()
          del self.file, self.sock
          return resp
function_tokens: def quit ( self ) : try : resp = self . _shortcmd ( 'QUIT' ) except error_proto , val : resp = val self . file . close ( ) self . sock . close ( ) del self . file , self . sock return resp