[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.10,2.11
Fred L. Drake
python-dev@python.org
2000年7月11日 21:49:02 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25675/Modules
Modified Files:
pyexpat.c
Log Message:
Convert coding style to be internally consistent and similar to the
rest of the Python C code: space between "if", "for" and "(", no space
between "(", ")" and function call parameters, etc.
Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.10
retrieving revision 2.11
diff -C2 -r2.10 -r2.11
*** pyexpat.c 2000年07月12日 01:27:18 2.10
--- pyexpat.c 2000年07月12日 04:49:00 2.11
***************
*** 23,42 ****
#define VERSION "1.9"
! enum HandlerTypes{
! StartElement,
! EndElement,
! ProcessingInstruction,
! CharacterData,
! UnparsedEntityDecl,
! NotationDecl,
! StartNamespaceDecl,
[...1422 lines suppressed...]
! pyxml_SetStartCdataSection,
! (xmlhandler)my_StartCdataSectionHandler},
! {"EndCdataSectionHandler",
! pyxml_SetEndCdataSection,
! (xmlhandler)my_EndCdataSectionHandler},
! {"DefaultHandler",
! (xmlhandlersetter)XML_SetDefaultHandler,
! (xmlhandler)my_DefaultHandler},
! {"DefaultHandlerExpand",
! (xmlhandlersetter)XML_SetDefaultHandlerExpand,
! (xmlhandler)my_DefaultHandlerExpandHandler},
! {"NotStandaloneHandler",
! (xmlhandlersetter)XML_SetNotStandaloneHandler,
! (xmlhandler)my_NotStandaloneHandler},
! {"ExternalEntityRefHandler",
! (xmlhandlersetter)XML_SetExternalEntityRefHandler,
! (xmlhandler)my_ExternalEntityRefHandler },
! {NULL, NULL, NULL} /* sentinel */
};