summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2006-09-19 17:35:04 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2006-09-19 17:35:04 (GMT)
commit2fa067982c05d404d2337ba9026d6781e3213e3e (patch)
tree5a9293618847bcf84278427f44ef0cfa1026f84a /Modules
parent790e1944a091b51a09b7412eb02c202cbf17a6cf (diff)
downloadcpython-2fa067982c05d404d2337ba9026d6781e3213e3e.zip
cpython-2fa067982c05d404d2337ba9026d6781e3213e3e.tar.gz
cpython-2fa067982c05d404d2337ba9026d6781e3213e3e.tar.bz2
Fixes a bug with bsddb.DB.stat where the flags and txn keyword
arguments are transposed. (reported by Louis Zechtzer) ..already committed to release24-maint ..needs committing to release25-maint
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_bsddb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c
index 6fef6c2..9be5c6a 100644
--- a/Modules/_bsddb.c
+++ b/Modules/_bsddb.c
@@ -98,7 +98,7 @@
#error "eek! DBVER can't handle minor versions > 9"
#endif
-#define PY_BSDDB_VERSION "4.4.5"
+#define PY_BSDDB_VERSION "4.4.6"
static char *rcs_id = "$Id$";
@@ -2430,7 +2430,7 @@ DB_stat(DBObject* self, PyObject* args, PyObject* kwargs)
#if (DBVER >= 43)
PyObject* txnobj = NULL;
DB_TXN *txn = NULL;
- static char* kwnames[] = { "txn", "flags", NULL };
+ static char* kwnames[] = { "flags", "txn", NULL };
#else
static char* kwnames[] = { "flags", NULL };
#endif