[Bug #433047, reported by Armin Rigo] Remove extra 'i' character in

PyArg_ParseTuple() call.

(2.1.1 bugfix candidate.)
This commit is contained in:
Andrew M. Kuchling 2001-06-18 19:04:04 +00:00
parent 66eed24415
commit 888aa26819
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ PyPcre_exec(PcreObject *self, PyObject *args)
int offsets[100*2];
PyObject *list;
if (!PyArg_ParseTuple(args, "t#|iiii:match", &string, &stringlen, &pos, &endpos, &options))
if (!PyArg_ParseTuple(args, "t#|iii:match", &string, &stringlen,
&pos, &endpos, &options))
return NULL;
if (endpos == -1) {endpos = stringlen;}
count = pcre_exec(self->regex, self->regex_extra,