From 7218bb44997b8b3cc5bed114f6bfc668d1e7d913 Mon Sep 17 00:00:00 2001 From: Karthikeyan Singaravelan Date: Sat, 28 Mar 2020 04:42:23 +0000 Subject: cElementTree has been deprecated since Python 3.3 and removed in Python 3.9. --- docs/api/xmlstream/tostring.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/api/xmlstream') 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('') >>> ET.tostring(xml) '' -- cgit v1.2.3