convert dict comprehension to generator expression for 2.6