From: Gregory P. Smith Date: Mon, 7 Jul 2003 19:06:45 +0000 (+0000) Subject: Fix a typo/cut-n-paste error in DBCursor.join_item so that it doesn't X-Git-Tag: v2.3c1~161 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84261d2f1337781f2d8fec8af898c38165c78ee2;p=thirdparty%2FPython%2Fcpython.git 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 7a4f9e176279..b74491ce3230 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); }