summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-06-18 19:04:04 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-06-18 19:04:04 (GMT)
commit888aa2681925cb14adda8a85dbf96e848ecdac40 (patch)
tree30350c6fd9b08e3ee154eb2f73e8876c51bbc0f1 /Modules
parent66eed244152a019e2325cdf440fab20b0f288186 (diff)
downloadcpython-888aa2681925cb14adda8a85dbf96e848ecdac40.zip
cpython-888aa2681925cb14adda8a85dbf96e848ecdac40.tar.gz
cpython-888aa2681925cb14adda8a85dbf96e848ecdac40.tar.bz2
[Bug #433047, reported by Armin Rigo] Remove extra 'i' character in
PyArg_ParseTuple() call. (2.1.1 bugfix candidate.)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/pcremodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c
index fe45bac..af5b254 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,