From 888aa2681925cb14adda8a85dbf96e848ecdac40 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 18 Jun 2001 19:04:04 +0000 Subject: [PATCH] [Bug #433047, reported by Armin Rigo] Remove extra 'i' character in PyArg_ParseTuple() call. (2.1.1 bugfix candidate.) --- Modules/pcremodule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c index fe45bacd56..af5b254564 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, -- 2.49.0