8000 Very minor cleanup (removed unused argument from treebuilders.simplet… · awesome-python/html5lib-python@5b60568 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b60568

Browse files
committed
Very minor cleanup (removed unused argument from treebuilders.simpletree.Node.appendChild)
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40853
1 parent 409168e commit 5b60568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/html5lib/treebuilders/simpletree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def printTree(self, indent=0):
3030
tree += child.printTree(indent + 2)
3131
return tree
3232

33-
def appendChild(self, node, index=None):
33+
def appendChild(self, node):
3434
if (isinstance(node, TextNode) and self.childNodes and
3535
isinstance(self.childNodes[-1], TextNode)):
3636
self.childNodes[-1].value += node.value

0 commit comments

Comments
 (0)
0