mirror of
https://github.com/python/cpython.git
synced 2025-09-14 12:46:49 +00:00
[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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue