def remove_from_head(self):
    self._first = self._first.get_next_item()
    if (self._first is not None):
        self._first.set_previous(None)
    else:
        self._last = None
    self._count -= 1
def remove_from_head(self):
    self._first = self._first.get_next_item()
    if (self._first is not None):
        self._first.set_previous(None)
    else:
        self._last = None
    self._count -= 1