From: Andrew M. Kuchling Date: Mon, 18 Jun 2001 19:04:04 +0000 (+0000) Subject: [Bug #433047, reported by Armin Rigo] Remove extra 'i' character in X-Git-Tag: v2.2a3~1529 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=888aa2681925cb14adda8a85dbf96e848ecdac40;p=thirdparty%2FPython%2Fcpython.git [Bug #433047, reported by Armin Rigo] Remove extra 'i' character in PyArg_ParseTuple() call. (2.1.1 bugfix candidate.) --- 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,