[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


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 )
+ 

AltStyle によって変換されたページ (->オリジナル) /