Minor optimization, avoid raising TypeError in list_or_args