commit | 84261d2f1337781f2d8fec8af898c38165c78ee2 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Mon Jul 07 19:06:45 2003 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Mon Jul 07 19:06:45 2003 +0000 |
tree | 18e3d51c2b6927d64ac5ee5acf8ee6601be89626 | |
parent | 8851c62b8175249249d2eebce95d2dcecd63cd03 [diff] |
Fix a typo/cut-n-paste error in DBCursor.join_item so that it doesn't return a tuple. (this also implies that nobody uses this method; the bug has been here for a long time)
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index 7a4f9e1..b74491c 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c
@@ -3033,7 +3033,7 @@ retval = NULL; } else { - retval = Py_BuildValue("s#s#", key.data, key.size); + retval = Py_BuildValue("s#", key.data, key.size); FREE_DBT(key); }