X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c12bc4de5887421242de7f619b3c5e265bf631ac..16d38102e8ad5534d185cc532b9aa8077a75e0a4:/wxPython/samples/stxview/StructuredText/STDOM.py?ds=inline diff --git a/wxPython/samples/stxview/StructuredText/STDOM.py b/wxPython/samples/stxview/StructuredText/STDOM.py index 1eb2d42731..c38f2fa6f4 100644 --- a/wxPython/samples/stxview/StructuredText/STDOM.py +++ b/wxPython/samples/stxview/StructuredText/STDOM.py @@ -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()