def remove(self, item):
        """Remove the first occurence of an item, the caseless way."""
        for entry in self:
            if item.lower() == entry.lower():
                list.remove(self, entry)
                return
        raise ValueError(': list.remove(x): x not in list')
Remove the first occurence of an item, the caseless way.
recipes/Python/284569_caselessList/recipe-284569.py