pytoolz/toolz — pull request #134 by eriknw (2014-01-24 01:35:00+00:00)
Title: Add compatibility functions to iterate over dict contents as discussed in #133.

`iteritems = operator.methodcaller("iteritems")` was used instead of `iteritems = dict.iteritems` to allow maximum compatibility with any dict-like object that supports the mapping protocol. The former is also *slightly* faster for me in Python 2 (Python 3 and pypy were not benchmarked).