def _concat(values, axis, name='concat'):
    del name
    if (axis is None):
        raise ValueError('None values for `axis` argument not supported.')
    if (not isinstance(values, (list, tuple))):
        values = [values]
    if (len(values) == 1):
        return values[0]
    values = _args_to_matching_arrays(values)
    return np.concatenate(values, axis=axis)
def _concat(values, axis, name='concat'):
    del name
    if (axis is None):
        raise ValueError('None values for `axis` argument not supported.')
    if (not isinstance(values, (list, tuple))):
        values = [values]
    if (len(values) == 1):
        return values[0]
    values = _args_to_matching_arrays(values)
    return np.concatenate(values, axis=axis)