diff options
author | Karthikeyan Singaravelan <tir.karthi@gmail.com> | 2020-03-28 04:42:23 +0000 |
---|---|---|
committer | Karthikeyan Singaravelan <tir.karthi@gmail.com> | 2020-03-28 04:42:23 +0000 |
commit | 7218bb44997b8b3cc5bed114f6bfc668d1e7d913 (patch) | |
tree | 9028952956a982fd0ff025058706cd583186b640 /docs/api | |
parent | 115c234527217bef1adf9e2ce611971d59905d57 (diff) | |
download | slixmpp-7218bb44997b8b3cc5bed114f6bfc668d1e7d913.tar.gz slixmpp-7218bb44997b8b3cc5bed114f6bfc668d1e7d913.tar.bz2 slixmpp-7218bb44997b8b3cc5bed114f6bfc668d1e7d913.tar.xz slixmpp-7218bb44997b8b3cc5bed114f6bfc668d1e7d913.zip |
cElementTree has been deprecated since Python 3.3 and removed in Python 3.9.
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/xmlstream/tostring.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/xmlstream/tostring.rst b/docs/api/xmlstream/tostring.rst index 68abbdb6..107e97b0 100644 --- a/docs/api/xmlstream/tostring.rst +++ b/docs/api/xmlstream/tostring.rst @@ -13,7 +13,7 @@ hides namespaces when able and does not introduce excessive namespace prefixes:: >>> from slixmpp.xmlstream.tostring import tostring - >>> from xml.etree import cElementTree as ET + >>> from xml.etree import ElementTree as ET >>> xml = ET.fromstring('<foo xmlns="bar"><baz /></foo>') >>> ET.tostring(xml) '<ns0:foo xmlns:ns0="bar"><ns0:baz /></foo>' |