Kaydet (Commit) 6fed7937 authored tarafından Gregory P. Smith's avatar Gregory P. Smith

fix: DB.stat flags and txn keyword arguments were backwards.

üst bd425961
......@@ -22,6 +22,8 @@ Core and builtins
- Allow exception instances to be directly sliced again.
- fixed a bug with bsddb.DB.stat: the flags and txn keyword arguments
were transposed.
Extension Modules
-----------------
......
......@@ -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
......
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