14
0
forked from pool/python-Whoosh

- Fix intersphinx mapping by adding

docs-Update-intersphinx_mapping.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=30
This commit is contained in:
2024-09-05 08:36:57 +00:00
committed by Git OBS Bridge
commit fcae28572d
9 changed files with 459 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
src/whoosh/matching/mcore.py | 3 +++
1 file changed, 3 insertions(+)
--- a/src/whoosh/matching/mcore.py
+++ b/src/whoosh/matching/mcore.py
@@ -379,6 +379,9 @@ class NullMatcherClass(Matcher):
def __repr__(self):
return "<NullMatcher>"
+ def __hash__(self):
+ return hash((self.is_active(), tuple(self.all_ids())))
+
def supports_block_quality(self):
return True