Commit bcc4b4a5 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix #72

parent ee2e7ec2
...@@ -69,6 +69,9 @@ class MultiField(object): ...@@ -69,6 +69,9 @@ class MultiField(object):
def __getitem__(self, key): def __getitem__(self, key):
return self._val[self._domain.idx[key]] return self._val[self._domain.idx[key]]
def __contains__(self, key):
return key in self._domain.keys()
def keys(self): def keys(self):
return self._domain.keys() return self._domain.keys()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment