mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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)
This commit is contained in:
parent
8851c62b81
commit
84261d2f13
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue