[Python-checkins] r46667 - in python/trunk: Lib/bsddb/dbobj.py Modules/_bsddb.c
Neal Norwitz
nnorwitz at gmail.com
Mon Jun 5 07:07:51 CEST 2006
On 6/4/06, gregory.p.smith <python-checkins at python.org> wrote:
> Author: gregory.p.smith
> Date: Mon Jun 5 03:56:15 2006
> New Revision: 46667
>
> Modified: python/trunk/Modules/_bsddb.c
> ==============================================================================
> --- python/trunk/Modules/_bsddb.c (original)
> +++ python/trunk/Modules/_bsddb.c Mon Jun 5 03:56:15 2006
> @@ -4294,6 +4294,28 @@
> RETURN_NONE();
> }
>
> +#if (DBVER >= 44)
> +static PyObject*
> +DBEnv_lsn_reset(DBEnvObject* self, PyObject* args, PyObject* kwargs)
> +{
> + int err;
> + char *file;
> + u_int32_t flags = 0;
> + static char* kwnames[] = { "file", "flags", NULL};
> +
> + if (!PyArg_ParseTupleAndKeywords(args, kwargs, "z|i:lsn_reset", kwnames,
> + &file, &flags))
> + return NULL;
Shouldn't the format char be I (capital eye), since flags is unsigned?
n
More information about the Python-checkins
mailing list