def iterallitems(self):
            return ((k, v) for k, vl in self.dict.iteritems() for v in vl)