Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 888aa26

Browse files
committed
[Bug #433047, reported by Armin Rigo] Remove extra 'i' character in
PyArg_ParseTuple() call. (2.1.1 bugfix candidate.)
1 parent 66eed24 commit 888aa26

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Modules/pcremodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ PyPcre_exec(PcreObject *self, PyObject *args)
7474
int offsets[100*2];
7575
PyObject *list;
7676

77-
if (!PyArg_ParseTuple(args, "t#|iiii:match", &string, &stringlen, &pos, &endpos, &options))
77+
if (!PyArg_ParseTuple(args, "t#|iii:match", &string, &stringlen,
78+
&pos, &endpos, &options))
7879
return NULL;
7980
if (endpos == -1) {endpos = stringlen;}
8081
count = pcre_exec(self->regex, self->regex_extra,

0 commit comments

Comments
 (0)