def remove(self, value):
        """
        L.remove(value) -- remove first occurrence of value.
        Raises ValueError if the value is not present.
        """
        self._col_list.remove(value)
        self._col_dict.pop(self._get_object_key(value))
L.remove(value) -- remove first occurrence of value.
        Raises ValueError if the value is not present.