mirror of https://github.com/python/cpython
[Bug #433047, reported by Armin Rigo] Remove extra 'i' character in
PyArg_ParseTuple() call. (2.1.1 bugfix candidate.)
This commit is contained in:
parent
66eed24415
commit
888aa26819
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue