summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.etree.elementtree.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-02-06 19:11:33 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-02-06 19:11:33 (GMT)
commit303718c3d7b650f946a6364f50c9048a1100535b (patch)
treecd3d098baf17dbe989833ffeed8e8f53d2c622fa /Doc/library/xml.etree.elementtree.rst
parentf317cb7a2054c878f98aab38411d43fb179e53fd (diff)
parent5e028ae09e3181a1bebc402a9a414b8a79845090 (diff)
downloadcpython-303718c3d7b650f946a6364f50c9048a1100535b.zip
cpython-303718c3d7b650f946a6364f50c9048a1100535b.tar.gz
cpython-303718c3d7b650f946a6364f50c9048a1100535b.tar.bz2
Fix empty strings to empty bytes objects.
Diffstat (limited to 'Doc/library/xml.etree.elementtree.rst')
-rw-r--r--Doc/library/xml.etree.elementtree.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst
index fb6da15..dfa2b71 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -511,7 +511,7 @@ Functions
*short_empty_elements* has the same meaning as in :meth:`ElementTree.write`.
Returns a list of (optionally) encoded strings containing the XML data.
It does not guarantee any specific sequence, except that
- ``"".join(tostringlist(element)) == tostring(element)``.
+ ``b"".join(tostringlist(element)) == tostring(element)``.
.. versionadded:: 3.2