def _numeric(n):
 return isinstance(n, (salt.ext.six.integer_types + (float,)))

def _numeric ( n ) : return isinstance ( n , ( salt . ext . six . integer_types + ( float , ) ) )
tell whether an argument is numeric .