Better use isinstance(spacing, (list, tuple))?