diff options
Diffstat (limited to 'netlib/multidict.py')
-rw-r--r-- | netlib/multidict.py | 3 |
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. |