summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBernt Røskar Brenna <bernt.brenna@gmail.com>2019-04-14 08:07:02 (GMT)
committerStefan Behnel <stefan_ml@behnel.de>2019-04-14 08:07:02 (GMT)
commitffca16e25a70fd44a87b13b379b5ec0c7a11e926 (patch)
tree6855e55ff815720daf989ebc6e8eab778b197f73 /Misc
parent830b43d03cc47a27a22a50d777f23c8e60820867 (diff)
downloadcpython-ffca16e25a70fd44a87b13b379b5ec0c7a11e926.zip
cpython-ffca16e25a70fd44a87b13b379b5ec0c7a11e926.tar.gz
cpython-ffca16e25a70fd44a87b13b379b5ec0c7a11e926.tar.bz2
bpo-36227: ElementTree.tostring() default_namespace and xml_declaration arguments (GH-12225)
Add new keyword arguments "default_namespace" and "xml_declaration" to functions ET.tostring() and ET.tostringlist(), as known from ElementTree.write().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-03-07-20-02-18.bpo-36227.i2Z1XR.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-03-07-20-02-18.bpo-36227.i2Z1XR.rst b/Misc/NEWS.d/next/Library/2019-03-07-20-02-18.bpo-36227.i2Z1XR.rst
new file mode 100644
index 0000000..3b5b6cd
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-03-07-20-02-18.bpo-36227.i2Z1XR.rst
@@ -0,0 +1,2 @@
+Added support for keyword arguments `default_namespace` and `xml_declaration` in functions
+ElementTree.tostring() and ElementTree.tostringlist().