[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.48,2.49

Martin v. L?wis loewis@users.sourceforge.net
Wed, 19 Sep 2001 02:55:11 -0700


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

Modified Files:
	pyexpat.c 
Log Message:
Patch to bug #461753: Allow None in ExternalEntityParserCreate.


Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.48
retrieving revision 2.49
diff -C2 -d -r2.48 -r2.49
*** pyexpat.c	2001/08/17 18:39:25	2.48
--- pyexpat.c	2001/09/19 09:55:09	2.49
***************
*** 970,974 ****
      int i;
  
!     if (!PyArg_ParseTuple(args, "s|s:ExternalEntityParserCreate",
                            &context, &encoding)) {
          return NULL;
--- 970,974 ----
      int i;
  
!     if (!PyArg_ParseTuple(args, "z|s:ExternalEntityParserCreate",
                            &context, &encoding)) {
          return NULL;