aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/multidict.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/multidict.py')
-rw-r--r--netlib/multidict.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/netlib/multidict.py b/netlib/multidict.py
index a359d46b..ec1b24d8 100644
--- a/netlib/multidict.py
+++ b/netlib/multidict.py
@@ -87,6 +87,9 @@ class MultiDict(MutableMapping, Serializable):
def __ne__(self, other):
return not self.__eq__(other)
+ def __hash__(self):
+ return hash(self.fields)
+
def get_all(self, key):
"""
Return the list of all values for a given key.