Commit 84261d2f authored by Gregory P. Smith's avatar Gregory P. Smith

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)
parent 8851c62b
...@@ -3033,7 +3033,7 @@ DBC_join_item(DBCursorObject* self, PyObject* args) ...@@ -3033,7 +3033,7 @@ DBC_join_item(DBCursorObject* self, PyObject* args)
retval = NULL; retval = NULL;
} }
else { else {
retval = Py_BuildValue("s#s#", key.data, key.size); retval = Py_BuildValue("s#", key.data, key.size);
FREE_DBT(key); FREE_DBT(key);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment