[Python-checkins] CVS: python/dist/src/Lib/xml/dom minidom.py,1.4,1.5
Paul Prescod
python-dev@python.org
2000年7月21日 15:05:51 -0700
- Previous message: [Python-checkins] CVS: python/nondist/peps pep-0213.txt,1.2,1.3
- Next message: [Python-checkins] CVS: python/nondist/sf-html at.gif,NONE,1.1 py.gif,NONE,1.1 sf.gif,NONE,1.1 index.html,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/xml/dom
In directory slayer.i.sourceforge.net:/tmp/cvs-serv32732
Modified Files:
minidom.py
Log Message:
Added a few docstrings
Index: minidom.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/dom/minidom.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** minidom.py 2000年07月04日 03:39:33 1.4
--- minidom.py 2000年07月21日 22:05:49 1.5
***************
*** 7,10 ****
--- 7,14 ----
minidom.py -- a lightweight DOM implementation based on SAX.
+ parse( "foo.xml" )
+
+ parseString( "<foo><bar/></foo>" )
+
Todo:
=====
***************
*** 441,446 ****
--- 445,453 ----
def parse( *args, **kwargs ):
+ "Parse a file into a DOM by filename or file object"
return _doparse( pulldom.parse, args, kwargs )
def parseString( *args, **kwargs ):
+ "Parse a file into a DOM from a string"
return _doparse( pulldom.parseString, args, kwargs )
+
- Previous message: [Python-checkins] CVS: python/nondist/peps pep-0213.txt,1.2,1.3
- Next message: [Python-checkins] CVS: python/nondist/sf-html at.gif,NONE,1.1 py.gif,NONE,1.1 sf.gif,NONE,1.1 index.html,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]