parameters: (self)
docstring: Close the connection.
docstring_summary: Close the connection.
docstring_tokens: Close the connection .
function: def close(self):
          """Close the connection."""
          if self.sock:
              self.sock.close()
          self.sock = 0
          self.eof = 1
          self.iacseq = ''
          self.sb = 0
function_tokens: def close ( self ) : if self . sock : self . sock . close ( ) self . sock = 0 self . eof = 1 self . iacseq = '' self . sb = 0