def _validate_all_field_names(self, name, val):
        try:
            for x in val:
                self._validate_field_name(name, x)
        except __HOLE__:
            raise Exception("fields must be a sequence of field names!")
dataset/ETHPy150Open kxxoling/PTable/prettytable/prettytable.py/PrettyTable._validate_all_field_names