(self, other)
Compare this instance to `other` for equality.
Compare this instance to `other` for equality.
Compare this instance to other for equality .
def __eq__(self, other):
        """
        Compare this instance to `other` for equality.
        """
        if isinstance(other, Options):
            return (dialect_eq(self.dialect, other.dialect) and
                    self.encoding == other.encoding and
                    self.columntypes == other.columntypes and
                    self.rowspec == other.rowspec and
                    self.group_separator == other.group_separator and
                    self.decimal_separator == other.decimal_separator)
        else:
            return NotImplemented
def __eq__ ( self , other ) : if isinstance ( other , Options ) : return ( dialect_eq ( self . dialect , other . dialect ) and self . encoding == other . encoding and self . columntypes == other . columntypes and self . rowspec == other . rowspec and self . group_separator == other . group_separator and self . decimal_separator == other . decimal_separator ) else : return NotImplemented