summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-06-15 21:48:19 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-06-15 21:48:19 (GMT)
commit92a405534383927c48c8de2fc6bf06127ef2be78 (patch)
tree52f5b013c699b8c91f8a11ec0d96d98b33a00728 /Lib/xml/dom
parentef8abfc082daeb6e389dff8859640ed87da0cc12 (diff)
downloadcpython-92a405534383927c48c8de2fc6bf06127ef2be78.zip
cpython-92a405534383927c48c8de2fc6bf06127ef2be78.tar.gz
cpython-92a405534383927c48c8de2fc6bf06127ef2be78.tar.bz2
Issue #21774: Fix incorrect variable in xml.dom.minidom
Diffstat (limited to 'Lib/xml/dom')
-rw-r--r--Lib/xml/dom/minidom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index 6f71631..c379a33 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -976,7 +976,7 @@ class ProcessingInstruction(Childless, Node):
def _get_nodeValue(self):
return self.data
def _set_nodeValue(self, value):
- self.data = data
+ self.data = value
nodeValue = property(_get_nodeValue, _set_nodeValue)
# nodeName is an alias for target