diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2006-09-30 06:05:07 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2006-09-30 06:05:07 (GMT) |
commit | 6fed7937c6edde175b6596c05ca4e1284785c8c3 (patch) | |
tree | d7d6584cdc5b8e15e8e76b4ef75f4a0717c2dc2c /Modules/_bsddb.c | |
parent | bd42596179b025a584f9166a8f93d255a0abd763 (diff) | |
download | cpython-6fed7937c6edde175b6596c05ca4e1284785c8c3.zip cpython-6fed7937c6edde175b6596c05ca4e1284785c8c3.tar.gz cpython-6fed7937c6edde175b6596c05ca4e1284785c8c3.tar.bz2 |
fix: DB.stat flags and txn keyword arguments were backwards.
Diffstat (limited to 'Modules/_bsddb.c')
-rw-r--r-- | Modules/_bsddb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index 6fef6c2..9d56e27 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.5.1" 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 |