From: Anthony Baxter Date: Thu, 1 Nov 2001 12:52:27 +0000 (+0000) Subject: backport 2.26 X-Git-Tag: v2.1.2c1~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c00f9343c22251cac7173c27685fd1227511be44;p=thirdparty%2FPython%2Fcpython.git backport 2.26 [Bug #433047, reported by Armin Rigo] Remove extra 'i' character in PyArg_ParseTuple() call. --- diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c index fe45bacd5645..af5b25456449 100644 --- a/Modules/pcremodule.c +++ b/Modules/pcremodule.c @@ -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,