def _match_impl(expr, op, other, **kw):
 return _boolean_compare(expr, operators.match_op, _check_literal(expr, operators.match_op, other), result_type=type_api.MATCHTYPE, negate=(operators.notmatch_op if (op is operators.match_op) else operators.match_op), **kw)

def _match_impl ( expr , op , other , ** kw ) : return _boolean_compare ( expr , operators . match_op , _check_literal ( expr , operators . match_op , other ) , result_type = type_api . MATCHTYPE , negate = ( operators . notmatch_op if ( op is operators . match_op ) else operators . match_op ) , ** kw )
see :meth: .