summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/xml.rst')
-rw-r--r--Doc/library/xml.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/xml.rst b/Doc/library/xml.rst
index cf30de6..1e49b65 100644
--- a/Doc/library/xml.rst
+++ b/Doc/library/xml.rst
@@ -75,10 +75,10 @@ decompression bomb Safe Safe Safe
potential reliance on system-provided libraries. Check
:const:`pyexpat.EXPAT_VERSION`.
2. :mod:`xml.etree.ElementTree` doesn't expand external entities and raises a
- :exc:`ParserError` when an entity occurs.
+ :exc:`~xml.etree.ElementTree.ParseError` when an entity occurs.
3. :mod:`xml.dom.minidom` doesn't expand external entities and simply returns
the unexpanded entity verbatim.
-4. :mod:`xmlrpclib` doesn't expand external entities and omits them.
+4. :mod:`xmlrpc.client` doesn't expand external entities and omits them.
5. Since Python 3.7.1, external general entities are no longer processed by
default.
@@ -119,8 +119,8 @@ all known attack vectors with examples and references.
.. _defusedxml-package:
-The :mod:`defusedxml` Package
-------------------------------------------------------
+The :mod:`!defusedxml` Package
+------------------------------
`defusedxml`_ is a pure Python package with modified subclasses of all stdlib
XML parsers that prevent any potentially malicious operation. Use of this