[Python-checkins] python/dist/src/Demo/xml elem_count.py, 1.1,
1.2 roundtrip.py, 1.1, 1.2 rss2html.py, 1.1, 1.2
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Sun Jul 18 08:11:34 CEST 2004
- Previous message: [Python-checkins] python/dist/src/Demo/tix/samples Balloon.py, 1.2,
1.3 BtnBox.py, 1.2, 1.3 CmpImg.py, 1.2, 1.3 ComboBox.py, 1.2,
1.3 Control.py, 1.3, 1.4 DirList.py, 1.3, 1.4 DirTree.py, 1.2,
1.3 NoteBook.py, 1.2, 1.3 OptMenu.py, 1.2, 1.3 PanedWin.py,
1.1, 1.2 PopMenu.py, 1.2, 1.3 SHList1.py, 1.3, 1.4 SHList2.py,
1.3, 1.4 Tree.py, 1.2, 1.3
- Next message: [Python-checkins] python/dist/src/Demo/zlib minigzip.py, 1.3,
1.4 zlibdemo.py, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Demo/xml
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31002
Modified Files:
elem_count.py roundtrip.py rss2html.py
Log Message:
Whitespace normalization, via reindent.py.
Index: elem_count.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/xml/elem_count.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** elem_count.py 16 Oct 2000 15:27:05 -0000 1.1
--- elem_count.py 18 Jul 2004 06:11:32 -0000 1.2
***************
*** 31,35 ****
print "%20s %d" % pair
!
parser = make_parser()
parser.setContentHandler(FancyCounter())
--- 31,35 ----
print "%20s %d" % pair
!
parser = make_parser()
parser.setContentHandler(FancyCounter())
Index: roundtrip.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/xml/roundtrip.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** roundtrip.py 16 Oct 2000 15:27:05 -0000 1.1
--- roundtrip.py 18 Jul 2004 06:11:32 -0000 1.2
***************
*** 17,21 ****
# ContentHandler methods
!
def startDocument(self):
self._out.write('<?xml version="1.0" encoding="iso-8859-1"?>\n')
--- 17,21 ----
# ContentHandler methods
!
def startDocument(self):
self._out.write('<?xml version="1.0" encoding="iso-8859-1"?>\n')
***************
*** 35,39 ****
def ignorableWhitespace(self, content):
self._out.write(content)
!
def processingInstruction(self, target, data):
self._out.write('<?%s %s?>' % (target, data))
--- 35,39 ----
def ignorableWhitespace(self, content):
self._out.write(content)
!
def processingInstruction(self, target, data):
self._out.write('<?%s %s?>' % (target, data))
Index: rss2html.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Demo/xml/rss2html.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** rss2html.py 16 Oct 2000 15:27:05 -0000 1.1
--- rss2html.py 18 Jul 2004 06:11:32 -0000 1.2
***************
*** 81,85 ****
if name == "rss":
self._out.write(bottom)
!
def characters(self, content):
self._text = self._text + content
--- 81,85 ----
if name == "rss":
self._out.write(bottom)
!
def characters(self, content):
self._text = self._text + content
- Previous message: [Python-checkins] python/dist/src/Demo/tix/samples Balloon.py, 1.2,
1.3 BtnBox.py, 1.2, 1.3 CmpImg.py, 1.2, 1.3 ComboBox.py, 1.2,
1.3 Control.py, 1.3, 1.4 DirList.py, 1.3, 1.4 DirTree.py, 1.2,
1.3 NoteBook.py, 1.2, 1.3 OptMenu.py, 1.2, 1.3 PanedWin.py,
1.1, 1.2 PopMenu.py, 1.2, 1.3 SHList1.py, 1.3, 1.4 SHList2.py,
1.3, 1.4 Tree.py, 1.2, 1.3
- Next message: [Python-checkins] python/dist/src/Demo/zlib minigzip.py, 1.3,
1.4 zlibdemo.py, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list