def iterlists ( self ) : for key , values in dict . iteritems ( self ) : yield key , list ( values )
python object has no attribute 'iteritems'
Like : meth : items but returns an iterator .
def iterlists(self):
        """Like :meth:`items` but returns an iterator."""
        for key, values in dict.iteritems(self):
            yield key, list(values)