summaryrefslogtreecommitdiff
path: root/Lib/xml/dom/minidom.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-15 14:37:23 +0000
committerFred Drake <fdrake@acm.org>2002-03-15 14:37:23 +0000
commit15b6893d95e5cc1541fa2fbcf86f450fbc5da70f (patch)
tree7e6acc1102d4e83a3fdd94a58b9e1787b037c968 /Lib/xml/dom/minidom.py
parent1b9c177c5de0cf0d2d506748209dc840b0eb48d9 (diff)
downloadcpython-git-15b6893d95e5cc1541fa2fbcf86f450fbc5da70f.tar.gz
Wrap a couple of long lines.
Diffstat (limited to 'Lib/xml/dom/minidom.py')
-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 963b6d03db..085f0eb7b1 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')