[Zodb-checkins] CVS: Zope/lib/python/BTrees - BucketTemplate.c:1.23
Andreas Jung
andreas@zope.com
Fri, 21 Dec 2001 11:04:50 -0500
Update of /cvs-repository/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv26192
Modified Files:
BucketTemplate.c
Log Message:
Collector #99: fixed broken Buckets.items()
=== Zope/lib/python/BTrees/BucketTemplate.c 1.22 => 1.23 ===
PyTuple_SET_ITEM(item, 1, o);
- if (PyList_SetItem(r, i, item) < 0) goto err;
+ if (PyList_SetItem(r, i-low, item) < 0) goto err;
item = 0;
}