parameters: (self)
return_statement: return res
docstring: Terminate the SMTP session.
docstring_summary: Terminate the SMTP session.
docstring_tokens: Terminate the SMTP session .
function: def quit(self):
          """Terminate the SMTP session."""
          res = self.docmd("quit")
          # A new EHLO is required after reconnecting with connect()
          self.ehlo_resp = self.helo_resp = None
          self.esmtp_features = {}
          self.does_esmtp = False
          self.close()
          return res
function_tokens: def quit ( self ) : res = self . docmd ( "quit" ) # A new EHLO is required after reconnecting with connect() self . ehlo_resp = self . helo_resp = None self . esmtp_features = { } self . does_esmtp = False self . close ( ) return res