def remove(self, item):
        """Remove an element from the queue.

        Parameters
        ----------
        item :
            The element to remove.

        """
        self._queue.remove(item)