This commit is contained in:
Miroslav Stampar
2026-01-17 22:39:57 +01:00
parent 648752c508
commit 568e9f0d37
3 changed files with 4 additions and 4 deletions

View File

@@ -415,7 +415,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
# list
if expand and shiftTable:
charTbl = xrange(maxChar + 1, (maxChar + 1) << shiftTable.pop())
originalTbl = xrange(charTbl)
originalTbl = xrange(charTbl[0], charTbl[-1] + 1)
maxChar = maxValue = charTbl[-1]
minValue = charTbl[0]
else: