summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.etree.elementtree.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-02-06 19:10:41 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-02-06 19:10:41 (GMT)
commit5e028ae09e3181a1bebc402a9a414b8a79845090 (patch)
tree174f4aea9af25e3f583f41a1f07e8945f14da955 /Doc/library/xml.etree.elementtree.rst
parent07fbd7847356c704ef30f9a4230a60281422dd39 (diff)
downloadcpython-5e028ae09e3181a1bebc402a9a414b8a79845090.zip
cpython-5e028ae09e3181a1bebc402a9a414b8a79845090.tar.gz
cpython-5e028ae09e3181a1bebc402a9a414b8a79845090.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 cf65219..3f2dcbb 100644
--- a/Doc/library/xml.etree.elementtree.rst
+++ b/Doc/library/xml.etree.elementtree.rst
@@ -457,7 +457,7 @@ Functions
is either ``"xml"``, ``"html"`` or ``"text"`` (default is ``"xml"``).
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