[Zodb-checkins] CVS: Packages/BTrees - BucketTemplate.c:1.18
Andreas Jung
andreas@zope.com
Sat, 1 Sep 2001 14:18:19 -0400
Update of /cvs-repository/Packages/BTrees
In directory cvs.zope.org:/tmp/cvs-serv31753
Modified Files:
BucketTemplate.c
Log Message:
values() return keys instead of values
=== Packages/BTrees/BucketTemplate.c 1.17 => 1.18 ===
for (i=low; i <= high; i++)
{
- COPY_KEY_TO_OBJECT(v, self->keys[i]);
+ COPY_VALUE_TO_OBJECT(v, self->values[i]);
UNLESS (v) goto err;
if (PyList_SetItem(r, i, v) < 0) goto err;
}