def allitems(self):
            return ((k, v) for k, vl in self.dict.items() for v in vl)