Update of /cvs-repository/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv7776
Modified Files:
Tag: TextIndexDS9-branch
NBest.py
Log Message:
addmany(): Small simplification.
=== Products/ZCTextIndex/NBest.py 1.1.2.4 => 1.1.2.5 ===
items.insert(i, item)
if n == capacity:
- del scores[0]
- del items[0]
+ del items[0], scores[0]
else:
n += 1
assert n == len(scores)