[Python-checkins] cpython (3.5): Clarify deprecation of ElementTree.XMLParser(html=...) parameter

martin.panter python-checkins at python.org
Sat Jun 4 03:15:59 EDT 2016


https://hg.python.org/cpython/rev/833fb1ab68e3
changeset:   101693:833fb1ab68e3
branch:      3.5
parent:      101691:b826a259a51b
user:        Martin Panter <vadmium+py at gmail.com>
date:        Sat Jun 04 07:12:51 2016 +0000
summary:
  Clarify deprecation of ElementTree.XMLParser(html=...) parameter

files:
  Lib/xml/etree/ElementTree.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py
--- a/Lib/xml/etree/ElementTree.py
+++ b/Lib/xml/etree/ElementTree.py
@@ -1454,7 +1454,7 @@
 class XMLParser:
     """Element structure builder for XML source data based on the expat parser.
 
-    *html* are predefined HTML entities (not supported currently),
+    *html* are predefined HTML entities (deprecated and not supported),
     *target* is an optional target object which defaults to an instance of the
     standard TreeBuilder class, *encoding* is an optional encoding string
     which if given, overrides the encoding specified in the XML file:

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list