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); }