mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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
This commit is contained in:
parent
790e1944a0
commit
2fa067982c
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue