summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom/minidom.py
diff options
context:
space:
mode:
authorPaul Prescod <prescod@prescod.net>2000-07-04 03:39:33 (GMT)
committerPaul Prescod <prescod@prescod.net>2000-07-04 03:39:33 (GMT)
commit6c4753f925467e5908a43d2fec6d15b76e878d42 (patch)
tree6aeddeb00540c35075a55fc46c2398461cc66aef /Lib/xml/dom/minidom.py
parent99b84bdaad28f6deba1462974cbe02ead36cbf75 (diff)
downloadcpython-6c4753f925467e5908a43d2fec6d15b76e878d42.zip
cpython-6c4753f925467e5908a43d2fec6d15b76e878d42.tar.gz
cpython-6c4753f925467e5908a43d2fec6d15b76e878d42.tar.bz2
Used original SAX handling form.
Diffstat (limited to 'Lib/xml/dom/minidom.py')
-rw-r--r--Lib/xml/dom/minidom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index 337ff03..981e511 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -41,7 +41,7 @@ class Node:
Node.allnodes[index]=repr( self.__dict__ )
if Node.debug==None:
Node.debug=StringIO()
- #open( "debug4.out", "w" )
+ #open( "debug4.out", "w" )
Node.debug.write( "create %s\n"%index )
def __getattr__( self, key ):
@@ -230,7 +230,7 @@ dictionary"""
else:
assert isinstance( value, Attr ) or type( value )==types.StringType
node=value
- old=self._attrs.get( attname, None)
+ old=self._attrs.get( attname, None)
if old:
old.unlink()
self._attrs[node.name]=node