django-nonrel/django-dbindexer — comment on commit 041da37e38144e95f892c6ff8334de737418867e
File:  line 0
By Wilfred:

It would probably be sufficient to see if `.keys` and `.values` are present rather than seeing if they inherit from `Mapping`. It would also help in the unlikely event that someone creates a dict-like object that doesn't inherit from `Mapping`.