[Python-checkins] CVS: python/dist/src/Modules pcremodule.c,2.25,2.25.6.1

Anthony Baxter anthonybaxter@users.sourceforge.net
Thu, 01 Nov 2001 04:52:30 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv18031

Modified Files:
      Tag: release21-maint
	pcremodule.c 
Log Message:
backport 2.26
  [Bug #433047, reported by Armin Rigo] Remove extra 'i' character in
      PyArg_ParseTuple() call.



Index: pcremodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pcremodule.c,v
retrieving revision 2.25
retrieving revision 2.25.6.1
diff -C2 -d -r2.25 -r2.25.6.1
*** pcremodule.c	2000/09/01 23:29:27	2.25
--- pcremodule.c	2001/11/01 12:52:27	2.25.6.1
***************
*** 75,79 ****
  	PyObject *list;
  
! 	if (!PyArg_ParseTuple(args, "t#|iiii:match", &string, &stringlen, &pos, &endpos, &options))
  		return NULL;
  	if (endpos == -1) {endpos = stringlen;}
--- 75,80 ----
  	PyObject *list;
  
! 	if (!PyArg_ParseTuple(args, "t#|iii:match", &string, &stringlen, 
!                                      &pos, &endpos, &options))
  		return NULL;
  	if (endpos == -1) {endpos = stringlen;}