Wrap a couple of long lines.

This commit is contained in:
Fred Drake 2002-03-15 14:37:23 +00:00
parent 1b9c177c5d
commit 15b6893d95
1 changed files with 4 additions and 2 deletions

View File

@ -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')