(expr, op, cleft, cright, **kw)
return BinaryExpression(
        expr,
        ClauseList(
            coercions.expect(
                roles.BinaryElementRole,
                cleft,
                expr=expr,
                operator=operators.and_,
            ),
            coercions.expect(
                roles.BinaryElementRole,
                cright,
                expr=expr,
                operator=operators.and_,
            ),
            operator=operators.and_,
            group=False,
            group_contents=False,
        ),
        op,
        negate=operators.notbetween_op
        if op is operators.between_op
        else operators.between_op,
        modifiers=kw,
    )
See :meth:`.ColumnOperators.between`.
See :meth:`.ColumnOperators.between`.
See : meth : . ColumnOperators . between .
def _between_impl(expr, op, cleft, cright, **kw):
    """See :meth:`.ColumnOperators.between`."""
    return BinaryExpression(
        expr,
        ClauseList(
            coercions.expect(
                roles.BinaryElementRole,
                cleft,
                expr=expr,
                operator=operators.and_,
            ),
            coercions.expect(
                roles.BinaryElementRole,
                cright,
                expr=expr,
                operator=operators.and_,
            ),
            operator=operators.and_,
            group=False,
            group_contents=False,
        ),
        op,
        negate=operators.notbetween_op
        if op is operators.between_op
        else operators.between_op,
        modifiers=kw,
    )
def _between_impl ( expr , op , cleft , cright , * * kw ) : return BinaryExpression ( expr , ClauseList ( coercions . expect ( roles . BinaryElementRole , cleft , expr = expr , operator = operators . and_ , ) , coercions . expect ( roles . BinaryElementRole , cright , expr = expr , operator = operators . and_ , ) , operator = operators . and_ , group = False , group_contents = False , ) , op , negate = operators . notbetween_op if op is operators . between_op else operators . between_op , modifiers = kw , )