code: def dpop(self, **kwds):
          
          item = self.dget(**kwds)
          self.remove(item)
          return item
docs: Pops and returns the first element that matches the
          given specification. If no elements are found
          raises IndexError.