summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorarikrupnik <ari@30pins.com>2018-06-07 04:42:38 (GMT)
committerFred Drake <fred@fdrake.net>2018-06-07 04:42:38 (GMT)
commit5bfa058e65897567889354d7eb34af2b93a20f18 (patch)
treefcbae0b123d4ad0a28db1bfb61bc9b77fc0452fd /Lib/xml
parent7c69c1c0fba8c1c8ff3969bce4c1135736a4cc58 (diff)
downloadcpython-5bfa058e65897567889354d7eb34af2b93a20f18.zip
cpython-5bfa058e65897567889354d7eb34af2b93a20f18.tar.gz
cpython-5bfa058e65897567889354d7eb34af2b93a20f18.tar.bz2
bpo-33274: Compliance with DOM L1: return removed attribute (#7465)
* bpo-33274: Compliance with DOM L1: return removed attribute * Update 2018-06-06-22-01-33.bpo-33274.teYqv8.rst
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/minidom.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index a5d813f..e44e04a 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -823,6 +823,7 @@ class Element(Node):
# Restore this since the node is still useful and otherwise
# unlinked
node.ownerDocument = self.ownerDocument
+ return node
removeAttributeNodeNS = removeAttributeNode