Remove no longer needed index function

This commit is contained in:
Veronica Berglyd Olsen
2022-11-14 18:59:47 +01:00
parent ebc6654069
commit 8dbaa6bbd9
2 changed files with 0 additions and 18 deletions
-8
View File
@@ -520,14 +520,6 @@ class NWIndex:
hCount[iLevel] += 1
return hCount
def getHandleWordCounts(self, tHandle):
"""Get all header word counts for a specific handle.
"""
return [
(f"{tHandle}:{sTitle}", hItem.wordCount)
for sTitle, hItem in self._itemIndex.iterItemHeaders(tHandle)
]
def getHandleHeaderCount(self, tHandle):
"""Get the number of headers in an item.
"""