(lhs, rhs)
return (lhs.delimiter == rhs.delimiter and
            lhs.quotechar == rhs.quotechar and
            lhs.doublequote == rhs.doublequote and
            lhs.escapechar == rhs.escapechar and
            lhs.quoting == rhs.quoting and
            lhs.skipinitialspace == rhs.skipinitialspace)
Compare 2 `csv.Dialect` instances for equality.
Compare 2 `csv.Dialect` instances for equality.
Compare 2 csv . Dialect instances for equality .
def dialect_eq(lhs, rhs):
    # type: (csv.Dialect, csv.Dialect) -> bool
    """Compare 2 `csv.Dialect` instances for equality."""
    return (lhs.delimiter == rhs.delimiter and
            lhs.quotechar == rhs.quotechar and
            lhs.doublequote == rhs.doublequote and
            lhs.escapechar == rhs.escapechar and
            lhs.quoting == rhs.quoting and
            lhs.skipinitialspace == rhs.skipinitialspace)
def dialect_eq ( lhs , rhs ) : # type: (csv.Dialect, csv.Dialect) -> bool return ( lhs . delimiter == rhs . delimiter and lhs . quotechar == rhs . quotechar and lhs . doublequote == rhs . doublequote and lhs . escapechar == rhs . escapechar and lhs . quoting == rhs . quoting and lhs . skipinitialspace == rhs . skipinitialspace )