diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2003-07-07 19:06:45 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2003-07-07 19:06:45 (GMT) |
commit | 84261d2f1337781f2d8fec8af898c38165c78ee2 (patch) | |
tree | 18e3d51c2b6927d64ac5ee5acf8ee6601be89626 /Modules | |
parent | 8851c62b8175249249d2eebce95d2dcecd63cd03 (diff) | |
download | cpython-84261d2f1337781f2d8fec8af898c38165c78ee2.zip cpython-84261d2f1337781f2d8fec8af898c38165c78ee2.tar.gz cpython-84261d2f1337781f2d8fec8af898c38165c78ee2.tar.bz2 |
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)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_bsddb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index 7a4f9e1..b74491c 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); } |