CaseInsensitiveDict now looks like a normal dict

This commit is contained in:
Kenneth Reitz
2014-05-12 15:10:15 -04:00
parent 5893cfcd90
commit c15a8f8a3d
-4
View File
@@ -106,12 +106,8 @@ class CaseInsensitiveDict(collections.MutableMapping):
return CaseInsensitiveDict(self._store.values())
def __repr__(self):
return '%s(%r)' % (self.__class__.__name__, dict(self.items()))
def __str__(self):
return str(dict(self.items()))
class LookupDict(dict):
"""Dictionary lookup object."""