Commit 8835bf47 authored by Amos Latteier's avatar Amos Latteier

Fixed a couple typos. This DOM really needs some tests. These typos should...

Fixed a couple typos. This DOM really needs some tests. These typos should have been caught long ago.
parent 74c3de6f
......@@ -178,7 +178,7 @@ class ParentNode:
if not children:
return None
n=chidren[0]
n=children[0]
if type(n) is st:
n=TextNode(n)
......@@ -554,7 +554,7 @@ class Element(Node):
return self.getNodeType()
def _get_NodeValue(self, type=type, st=type('')):
return self.GetNodeValue(type,st)
return self.getNodeValue(type,st)
def _get_ParentNode(self):
return self.getParentNode()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment