diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-06 19:11:33 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-06 19:11:33 (GMT) |
commit | 303718c3d7b650f946a6364f50c9048a1100535b (patch) | |
tree | cd3d098baf17dbe989833ffeed8e8f53d2c622fa /Doc/library/xml.etree.elementtree.rst | |
parent | f317cb7a2054c878f98aab38411d43fb179e53fd (diff) | |
parent | 5e028ae09e3181a1bebc402a9a414b8a79845090 (diff) | |
download | cpython-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.rst | 2 |
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 |