def remove_tier(self, name_num):
if isinstance(name_num, int):<EOL><INDENT>del(self.tiers[name_num-<NUM_LIT:1>])<EOL><DEDENT>else:<EOL><INDENT>self.tiers = [i for i in self.tiers if i.name != name_num]<EOL><DEDENT>
Remove a tier, when multiple tiers exist with that name only the
        first is removed.

        :param name_num: Name or number of the tier to remove.
        :type name_num: int or str
        :raises IndexError: If there is no tier with that number.