docs: def smallest(self):
          """Return the item with the lowest priority.
  
          Raises IndexError if the object is empty.
          """
  
          heap = self._heap
          v, k = heap[0]
          while k not in self or self[k] != v:
              heappop(heap)
              v, k = heap[0]
  
          return k