replace dict comprehension with dict(tuple gen)