Mixed up paranthesis in IntersectionMatcher.spans()

Issue #38 resolved
Marcin Kuzminski
created an issue

There's a typo in spans implementation. currently it looks like that. {{{

!python

def spans(self):
    return sorted(set(self.a.spans() | set(self.b.spans())))

}}}

as You can see the first set is not closed, this is causing TypeError when using queries with two or more search terms

Regards

Comments (1)

  1. Log in to comment