summaryrefslogtreecommitdiffstats
path: root/Lib/xml/etree/ElementTree.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-01-13 19:58:04 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-01-13 19:58:04 (GMT)
commit03530b980e3f8a3922378e523cd962716fa84bb3 (patch)
treec18516841b787a5e4796551d8d94e6e4899616f6 /Lib/xml/etree/ElementTree.py
parentb09b16741930e614d95cc51172f0106e3c8ecc00 (diff)
downloadcpython-03530b980e3f8a3922378e523cd962716fa84bb3.zip
cpython-03530b980e3f8a3922378e523cd962716fa84bb3.tar.gz
cpython-03530b980e3f8a3922378e523cd962716fa84bb3.tar.bz2
Describe the default_namespace parameter of ElemetTree.write.
Diffstat (limited to 'Lib/xml/etree/ElementTree.py')
-rw-r--r--Lib/xml/etree/ElementTree.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py
index 9742f32..ff8ff7d 100644
--- a/Lib/xml/etree/ElementTree.py
+++ b/Lib/xml/etree/ElementTree.py
@@ -802,11 +802,12 @@ class ElementTree:
# @param **options Options, given as keyword arguments.
# @keyparam encoding Optional output encoding (default is US-ASCII).
# Use "unicode" to return a Unicode string.
- # @keyparam method Optional output method ("xml", "html", "text" or
- # "c14n"; default is "xml").
# @keyparam xml_declaration Controls if an XML declaration should
# be added to the file. Use False for never, True for always,
# None for only if not US-ASCII or UTF-8 or Unicode. None is default.
+ # @keyparam default_namespace Sets the default XML namespace (for "xmlns").
+ # @keyparam method Optional output method ("xml", "html", "text" or
+ # "c14n"; default is "xml").
def write(self, file_or_filename,
# keyword arguments