#NEWLINE# def _between_impl( expr , op , cleft , cright , **kw ) : #NEWLINE# #INDENT# 'See :meth:`.ColumnOperators.between`.' #NEWLINE# return BinaryExpression ( expr , ClauseList ( _check_literal ( expr , operators . and_ , cleft ) , _check_literal ( expr , operators . and_ , cright ) , 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 )