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 3af7979b..248acdec 100644 --- a/netlib/multidict.py +++ b/netlib/multidict.py @@ -81,6 +81,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. |