Skip to content

Commit c690af1

Browse files
committed
Merge branch '7.0branch'
2 parents 0f17e8a + d9674a7 commit c690af1

10 files changed

+1551
-295
lines changed

doc/AdvancedHTMLParser.Formatter.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="AdvancedHTMLParser.html"><font color="#ffffff">AdvancedHTMLParser</font></a>.Formatter</strong></big></big></font></td
1010
><td align=right valign=bottom
1111
><font color="#ffffff" face="helvetica, arial"><a href="AdvancedHTMLParser.html">index</a></font></td></tr></table>
12-
<p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2015&nbsp;Tim&nbsp;Savannah&nbsp;under&nbsp;LGPLv3.&nbsp;<br>
12+
<p><tt>#&nbsp;Copyright&nbsp;(c)&nbsp;2015,&nbsp;2017&nbsp;Tim&nbsp;Savannah&nbsp;under&nbsp;LGPLv3.&nbsp;<br>
1313
#&nbsp;See&nbsp;LICENSE&nbsp;(https://gnu.org/licenses/lgpl-3.0.txt)&nbsp;for&nbsp;more&nbsp;information.<br>
1414
#&nbsp;&nbsp;&nbsp;HTML&nbsp;formatting&nbsp;(HTML-&gt;XHTML&nbsp;conversion&nbsp;as&nbsp;well)</tt></p>
1515
<p>
@@ -96,11 +96,5 @@
9696
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
9797

9898
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
99-
<td width="100%"><strong>IMPLICIT_SELF_CLOSING_TAGS</strong> = {'br', 'hr', 'img', 'input', 'link', 'meta'}<br>
100-
<strong>INVISIBLE_ROOT_TAG</strong> = 'xxxblank'<br>
101-
<strong>INVISIBLE_ROOT_TAG_END</strong> = '&lt;/xxxblank&gt;'<br>
102-
<strong>INVISIBLE_ROOT_TAG_START</strong> = '&lt;xxxblank&gt;'<br>
103-
<strong>PREFORMATTED_TAGS</strong> = {'code', 'pre'}<br>
104-
<strong>PRESERVE_CONTENTS_TAGS</strong> = {'code', 'pre', 'script', 'style'}<br>
105-
<strong>pyver</strong> = 3</td></tr></table>
99+
<td width="100%"><strong>__all__</strong> = ('AdvancedHTMLFormatter',)</td></tr></table>
106100
</body></html>

doc/AdvancedHTMLParser.Parser.html

Lines changed: 183 additions & 12 deletions
Large diffs are not rendered by default.

doc/AdvancedHTMLParser.SpecialAttributes.html

Lines changed: 117 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
#&nbsp;These&nbsp;are&nbsp;various&nbsp;helpers&nbsp;for&nbsp;"special"&nbsp;attributes</tt></p>
1616
<p>
1717
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
18+
<tr bgcolor="#aa55cc">
19+
<td colspan=3 valign=bottom>&nbsp;<br>
20+
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
21+
22+
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
23+
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="copy.html">copy</a><br>
24+
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
25+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
1826
<tr bgcolor="#ee77aa">
1927
<td colspan=3 valign=bottom>&nbsp;<br>
2028
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
@@ -30,14 +38,114 @@
3038
<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
3139
</font></dt><dd>
3240
<dl>
33-
<dt><font face="helvetica, arial"><a href="AdvancedHTMLParser.SpecialAttributes.html#StyleAttribute">StyleAttribute</a>
41+
<dt><font face="helvetica, arial"><a href="AdvancedHTMLParser.SpecialAttributes.html#AttributeNode">AttributeNode</a>
42+
</font></dt><dt><font face="helvetica, arial"><a href="AdvancedHTMLParser.SpecialAttributes.html#AttributeNodeMap">AttributeNodeMap</a>
43+
</font></dt><dt><font face="helvetica, arial"><a href="AdvancedHTMLParser.SpecialAttributes.html#StyleAttribute">StyleAttribute</a>
3444
</font></dt></dl>
3545
</dd>
3646
</dl>
3747
<p>
3848
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
3949
<tr bgcolor="#ffc8d8">
4050
<td colspan=3 valign=bottom>&nbsp;<br>
51+
<font color="#000000" face="helvetica, arial"><a name="AttributeNode">class <strong>AttributeNode</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
52+
53+
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
54+
<td colspan=2><tt><a href="#AttributeNode">AttributeNode</a>&nbsp;-&nbsp;A&nbsp;basic&nbsp;NamedNode&nbsp;implementing&nbsp;Attribute&nbsp;Node,&nbsp;mostly.<br>&nbsp;</tt></td></tr>
55+
<tr><td>&nbsp;</td>
56+
<td width="100%">Methods defined here:<br>
57+
<dl><dt><a name="AttributeNode-__eq__"><strong>__eq__</strong></a>(self, other)</dt><dd><tt>Return&nbsp;self==value.</tt></dd></dl>
58+
59+
<dl><dt><a name="AttributeNode-__getattribute__"><strong>__getattribute__</strong></a>(self, name)</dt><dd><tt>Return&nbsp;getattr(self,&nbsp;name).</tt></dd></dl>
60+
61+
<dl><dt><a name="AttributeNode-__getitem__"><strong>__getitem__</strong></a>(self, name)</dt></dl>
62+
63+
<dl><dt><a name="AttributeNode-__hash__"><strong>__hash__</strong></a>(self)</dt><dd><tt>Return&nbsp;hash(self).</tt></dd></dl>
64+
65+
<dl><dt><a name="AttributeNode-__init__"><strong>__init__</strong></a>(self, name, value, ownerElement, ownerDocument=None)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>
66+
67+
<dl><dt><a name="AttributeNode-__ne__"><strong>__ne__</strong></a>(self, other)</dt><dd><tt>Return&nbsp;self!=value.</tt></dd></dl>
68+
69+
<dl><dt><a name="AttributeNode-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Return&nbsp;repr(self).</tt></dd></dl>
70+
71+
<dl><dt><a name="AttributeNode-__setattr__"><strong>__setattr__</strong></a>(self, name, value)</dt><dd><tt>Implement&nbsp;setattr(self,&nbsp;name,&nbsp;value).</tt></dd></dl>
72+
73+
<dl><dt><a name="AttributeNode-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Return&nbsp;str(self).</tt></dd></dl>
74+
75+
<dl><dt><a name="AttributeNode-cloneNode"><strong>cloneNode</strong></a>(self)</dt><dd><tt>cloneNode&nbsp;-&nbsp;Make&nbsp;a&nbsp;copy&nbsp;of&nbsp;this&nbsp;node,&nbsp;but&nbsp;not&nbsp;associated&nbsp;with&nbsp;the&nbsp;ownerElement<br>
76+
&nbsp;<br>
77+
@return&nbsp;<a href="#AttributeNode">AttributeNode</a></tt></dd></dl>
78+
79+
<hr>
80+
Data descriptors defined here:<br>
81+
<dl><dt><strong>__dict__</strong></dt>
82+
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
83+
</dl>
84+
<dl><dt><strong>__weakref__</strong></dt>
85+
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
86+
</dl>
87+
<dl><dt><strong>localName</strong></dt>
88+
</dl>
89+
<dl><dt><strong>namespaceURI</strong></dt>
90+
</dl>
91+
<dl><dt><strong>nodeName</strong></dt>
92+
</dl>
93+
<dl><dt><strong>nodeType</strong></dt>
94+
<dd><tt>nodeType&nbsp;-&nbsp;Return&nbsp;this&nbsp;node&nbsp;type&nbsp;(ATTRIBUTE_NODE)</tt></dd>
95+
</dl>
96+
<dl><dt><strong>nodeValue</strong></dt>
97+
<dd><tt>nodeValue&nbsp;-&nbsp;value&nbsp;of&nbsp;this&nbsp;node.</tt></dd>
98+
</dl>
99+
<dl><dt><strong>prefix</strong></dt>
100+
</dl>
101+
<dl><dt><strong>specified</strong></dt>
102+
</dl>
103+
</td></tr></table> <p>
104+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
105+
<tr bgcolor="#ffc8d8">
106+
<td colspan=3 valign=bottom>&nbsp;<br>
107+
<font color="#000000" face="helvetica, arial"><a name="AttributeNodeMap">class <strong>AttributeNodeMap</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
108+
109+
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
110+
<td colspan=2><tt><a href="#AttributeNodeMap">AttributeNodeMap</a>&nbsp;-&nbsp;A&nbsp;map&nbsp;of&nbsp;<a href="#AttributeNode">AttributeNode</a>&nbsp;associated&nbsp;with&nbsp;an&nbsp;element.<br>
111+
&nbsp;<br>
112+
&nbsp;&nbsp;&nbsp;&nbsp;Not&nbsp;very&nbsp;useful,&nbsp;I've&nbsp;never&nbsp;actually&nbsp;seen&nbsp;the&nbsp;"Node"&nbsp;interface&nbsp;used&nbsp;in&nbsp;practice,<br>
113+
&nbsp;&nbsp;&nbsp;&nbsp;but&nbsp;here&nbsp;just&nbsp;incase...<br>
114+
&nbsp;<br>
115+
&nbsp;&nbsp;&nbsp;&nbsp;You&nbsp;probably&nbsp;want&nbsp;to&nbsp;just&nbsp;use&nbsp;the&nbsp;normal&nbsp;getAttribute&nbsp;and&nbsp;setAttribute&nbsp;on&nbsp;nodes...&nbsp;that&nbsp;way&nbsp;makes&nbsp;sense.<br>
116+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This&nbsp;way&nbsp;really&nbsp;doesn't&nbsp;make&nbsp;a&nbsp;whole&nbsp;lot&nbsp;of&nbsp;sense.<br>&nbsp;</tt></td></tr>
117+
<tr><td>&nbsp;</td>
118+
<td width="100%">Methods defined here:<br>
119+
<dl><dt><a name="AttributeNodeMap-X__setitem__"><strong>X__setitem__</strong></a>(self, name, value)</dt></dl>
120+
121+
<dl><dt><a name="AttributeNodeMap-__getattribute__"><strong>__getattribute__</strong></a>(self, name)</dt><dd><tt>Return&nbsp;getattr(self,&nbsp;name).</tt></dd></dl>
122+
123+
<dl><dt><a name="AttributeNodeMap-__getitem__"><strong>__getitem__</strong></a>(self, name)</dt></dl>
124+
125+
<dl><dt><a name="AttributeNodeMap-__init__"><strong>__init__</strong></a>(self, attributesDict, ownerElement, ownerDocument=None)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>
126+
127+
<dl><dt><a name="AttributeNodeMap-__iter__"><strong>__iter__</strong></a>(self)</dt></dl>
128+
129+
<dl><dt><a name="AttributeNodeMap-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Return&nbsp;str(self).</tt></dd></dl>
130+
131+
<dl><dt><a name="AttributeNodeMap-getNamedItem"><strong>getNamedItem</strong></a>(self, name)</dt></dl>
132+
133+
<dl><dt><a name="AttributeNodeMap-item"><strong>item</strong></a> = <a href="#AttributeNodeMap-getNamedItem">getNamedItem</a>(self, name)</dt></dl>
134+
135+
<dl><dt><a name="AttributeNodeMap-setNamedItem"><strong>setNamedItem</strong></a>(self, *args, **kwargs)</dt></dl>
136+
137+
<hr>
138+
Data descriptors defined here:<br>
139+
<dl><dt><strong>__dict__</strong></dt>
140+
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
141+
</dl>
142+
<dl><dt><strong>__weakref__</strong></dt>
143+
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
144+
</dl>
145+
</td></tr></table> <p>
146+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
147+
<tr bgcolor="#ffc8d8">
148+
<td colspan=3 valign=bottom>&nbsp;<br>
41149
<font color="#000000" face="helvetica, arial"><a name="SpecialAttributesDict">class <strong>SpecialAttributesDict</strong></a>(<a href="builtins.html#dict">builtins.dict</a>)</font></td></tr>
42150

43151
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
@@ -243,5 +351,12 @@
243351

244352
<dl><dt><strong>__hash__</strong> = None</dl>
245353

246-
</td></tr></table></td></tr></table>
354+
</td></tr></table></td></tr></table><p>
355+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
356+
<tr bgcolor="#55aa55">
357+
<td colspan=3 valign=bottom>&nbsp;<br>
358+
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
359+
360+
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
361+
<td width="100%"><strong>__all__</strong> = ('SpecialAttributesDict', 'AttributeNode', 'AttributeNodeMap', 'StyleAttribute')</td></tr></table>
247362
</body></html>

0 commit comments

Comments
 (0)