Mappings are a generalization of dicts, according to the [Python glossary](http://docs.python.org/dev/glossary.html#term-mapping). In practice, one would pass a dict, but any replacement with the same API should work.