summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-15 14:37:23 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-15 14:37:23 (GMT)
commit15b6893d95e5cc1541fa2fbcf86f450fbc5da70f (patch)
tree7e6acc1102d4e83a3fdd94a58b9e1787b037c968 /Lib/xml
parent1b9c177c5de0cf0d2d506748209dc840b0eb48d9 (diff)
downloadcpython-15b6893d95e5cc1541fa2fbcf86f450fbc5da70f.zip
cpython-15b6893d95e5cc1541fa2fbcf86f450fbc5da70f.tar.gz
cpython-15b6893d95e5cc1541fa2fbcf86f450fbc5da70f.tar.bz2
Wrap a couple of long lines.
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/minidom.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index 963b6d0..085f0eb 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -587,7 +587,8 @@ class Element(Node):
return _getElementsByTagNameHelper(self, name, NodeList())
def getElementsByTagNameNS(self, namespaceURI, localName):
- return _getElementsByTagNameNSHelper(self, namespaceURI, localName, NodeList())
+ return _getElementsByTagNameNSHelper(self, namespaceURI, localName,
+ NodeList())
def __repr__(self):
return "<DOM Element: %s at %s>" % (self.tagName, id(self))
@@ -935,7 +936,8 @@ class Document(Node):
return _getElementsByTagNameHelper(self, name, NodeList())
def getElementsByTagNameNS(self, namespaceURI, localName):
- return _getElementsByTagNameNSHelper(self, namespaceURI, localName, NodeList())
+ return _getElementsByTagNameNSHelper(self, namespaceURI, localName,
+ NodeList())
def writexml(self, writer, indent="", addindent="", newl=""):
writer.write('<?xml version="1.0" ?>\n')