summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-15 14:37:44 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-15 14:37:44 (GMT)
commit93cd54005f792e9f878b3937dd419125d6301132 (patch)
tree21f814ae453e302888078b4b7e1d0102aae51d89
parent9afa5738ccd65da4c771dd786960155245707839 (diff)
downloadcpython-93cd54005f792e9f878b3937dd419125d6301132.zip
cpython-93cd54005f792e9f878b3937dd419125d6301132.tar.gz
cpython-93cd54005f792e9f878b3937dd419125d6301132.tar.bz2
Wrap a couple of long lines.
-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 e258472..98f8ec2 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')