File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ implementation (i.e. ``xml.etree.cElementTree`` on Python 2.x).
34
34
35
35
Two other tree types are supported: ``xml.dom.minidom `` and
36
36
``lxml.etree ``. To use an alternative format, specify the name of
37
- a treebuilder:
37
+ a treebuilder:-
38
38
39
39
.. code-block :: python
40
40
@@ -43,7 +43,7 @@ a treebuilder:
43
43
lxml_etree_document = html5lib.parse(f, treebuilder = " lxml" )
44
44
45
45
When using with ``urllib2 `` (Python 2), the charset from HTTP should be
46
- pass into html5lib as follows:
46
+ pass into html5lib as follows:-
47
47
48
48
.. code-block :: python
49
49
@@ -55,7 +55,7 @@ pass into html5lib as follows:
55
55
document = html5lib.parse(f, transport_encoding = f.info().getparam(" charset" ))
56
56
57
57
When using with ``urllib.request `` (Python 3), the charset from HTTP
58
- should be pass into html5lib as follows:
58
+ should be pass into html5lib as follows:-
59
59
60
60
.. code-block :: python
61
61
You can’t perform that action at this time.
0 commit comments