X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e42c7b856732d0f7c3a209a42c269c613d40578a..ddfc587a2ea899f654d940c21f102316a39985bd:/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()