def remove_from_tail(self):
    self._last = self._last.get_previous()
    if (self._last is not None):
        self._last.set_next_item(None)
    else:
        self._first = None
    self._count -= 1
def remove_from_tail(self):
    self._last = self._last.get_previous()
    if (self._last is not None):
        self._last.set_next_item(None)
    else:
        self._first = None
    self._count -= 1