code: def remove(self):
          
          DoubleLinkedListItem.remove(self)     # remove from double linked list
          if self.succ is self:                 # list was a singleton
              self.theclass.items = None        # class is empty
          elif self.theclass.items is self:     # oups we removed the head
              self.theclass.items = self.succ
docs: remove item from its class