From 84261d2f1337781f2d8fec8af898c38165c78ee2 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Mon, 7 Jul 2003 19:06:45 +0000 Subject: [PATCH] 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) --- Modules/_bsddb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index 7a4f9e17627..b74491ce323 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c @@ -3033,7 +3033,7 @@ DBC_join_item(DBCursorObject* self, PyObject* args) retval = NULL; } else { - retval = Py_BuildValue("s#s#", key.data, key.size); + retval = Py_BuildValue("s#", key.data, key.size); FREE_DBT(key); }