Update of /cvsroot/python/python/dist/src/Lib/xml/dom In directory slayer.i.sourceforge.net:/tmp/cvs-serv7711 Modified Files: minidom.py Log Message: Fixed bug that disallowed processing instructions before and after document element. Index: minidom.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/xml/dom/minidom.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** minidom.py 2000/07/21 22:05:49 1.5 --- minidom.py 2000/09/15 17:09:19 1.6 *************** *** 397,404 **** def appendChild( self, node ): ! if node.nodeType==Node.ELEMENT_NODE and self.documentElement: ! raise TypeError, "Two document elements disallowed" ! else: ! self.documentElement=node Node.appendChild( self, node ) return node --- 397,405 ---- def appendChild( self, node ): ! if node.nodeType==Node.ELEMENT_NODE: ! if self.documentElement: ! raise TypeError, "Two document elements disallowed" ! else: ! self.documentElement=node Node.appendChild( self, node ) return node
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4