]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport 2.26
authorAnthony Baxter <anthonybaxter@gmail.com>
Thu, 1 Nov 2001 12:52:27 +0000 (12:52 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Thu, 1 Nov 2001 12:52:27 +0000 (12:52 +0000)
  [Bug #433047, reported by Armin Rigo] Remove extra 'i' character in
      PyArg_ParseTuple() call.

Modules/pcremodule.c

index fe45bacd564500ccb4e42eca4ab8e308b9c6e0ce..af5b25456449828ce57c971da9e95e1563b4ff8d 100644 (file)
@@ -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,