summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-04-04 17:55:11 +0200
committermathieui <mathieui@mathieui.net>2020-04-04 17:55:11 +0200
commit98108d0445575c2de5701accaab3afabd9f6c500 (patch)
tree811490670b3fd429b25b2615e475dcf5edb71a48 /docs
parent76f4fb49d6ad44ccafb97748183ce04986f82cda (diff)
parent7218bb44997b8b3cc5bed114f6bfc668d1e7d913 (diff)
downloadslixmpp-98108d0445575c2de5701accaab3afabd9f6c500.tar.gz
slixmpp-98108d0445575c2de5701accaab3afabd9f6c500.tar.bz2
slixmpp-98108d0445575c2de5701accaab3afabd9f6c500.tar.xz
slixmpp-98108d0445575c2de5701accaab3afabd9f6c500.zip
Merge branch 'fix-celementtree-import' into 'master'
cElementTree has been deprecated since Python 3.3 and removed in Python 3.9. See merge request poezio/slixmpp!38
Diffstat (limited to 'docs')
-rw-r--r--docs/api/xmlstream/tostring.rst2
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>'