Fix PhraseMatcher.__contains__

This commit is contained in:
Matthew Honnibal 2017-09-26 08:35:53 -05:00
parent d02a41a8c9
commit 19c7c09bf7
1 changed files with 3 additions and 3 deletions

View File

@ -440,7 +440,7 @@ cdef class PhraseMatcher:
def __len__(self): def __len__(self):
raise NotImplementedError raise NotImplementedError
def __contains__(self): def __contains__(self, key):
raise NotImplementedError raise NotImplementedError
def __reduce__(self): def __reduce__(self):