Use dict comprehensions instead of list comprehensions.
Use dict comprehensions instead of list comprehensions.

It's much more idiomatic and possible since we don't support Python 2.6.
It's also slightly faster.
vmalloc/mongomock,drorasaf/mongomock