1 <?xml version="1.0" encoding="ascii"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <title>lxml.html.diff.href_token</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
18 <th> <a
19 href="lxml-module.html">Home</a> </th>
22 <th> <a
23 href="module-tree.html">Trees</a> </th>
26 <th> <a
27 href="identifier-index.html">Indices</a> </th>
30 <th> <a
31 href="help.html">Help</a> </th>
33 <!-- Project homepage -->
34 <th class="navbar" align="right" width="100%">
35 <table border="0" cellpadding="0" cellspacing="0">
36 <tr><th class="navbar" align="center"
37 ><a class="navbar" target="_top" href="/">lxml API</a></th>
41 <table width="100%" cellpadding="0" cellspacing="0">
44 <span class="breadcrumbs">
45 <a href="lxml-module.html">Package lxml</a> ::
46 <a href="lxml.html-module.html">Package html</a> ::
47 <a href="lxml.html.diff-module.html">Module diff</a> ::
52 <table cellpadding="0" cellspacing="0">
53 <!-- hide/show private -->
54 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55 onclick="toggle_private();">hide private</a>]</span></td></tr>
56 <tr><td align="right"><span class="options"
57 >[<a href="frames.html" target="_top">frames</a
58 >] | <a href="lxml.html.diff.href_token-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class href_token</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.html.diff-pysrc.html#href_token">source code</a></span></p>
66 <pre class="base-tree">
73 <a href="lxml.html.diff.token-class.html" onclick="show_private();">token</a> --+
75 <strong class="uidshort">href_token</strong>
79 Represents the href in an anchor tag. Unlike other words, we only
80 show the href when it changes.
82 <!-- ==================== INSTANCE METHODS ==================== -->
83 <a name="section-InstanceMethods"></a>
84 <table class="summary" border="1" cellpadding="3"
85 cellspacing="0" width="100%" bgcolor="white">
86 <tr bgcolor="#70b0f0" class="table-header">
87 <td colspan="2" class="table-header">
88 <table border="0" cellpadding="0" cellspacing="0" width="100%">
90 <td align="left"><span class="table-header">Instance Methods</span></td>
91 <td align="right" valign="top"
92 ><span class="options">[<a href="#section-InstanceMethods"
93 class="privatelink" onclick="toggle_private();"
94 >hide private</a>]</span></td>
100 <td width="15%" align="right" valign="top" class="summary">
101 <span class="summary-type"> </span>
102 </td><td class="summary">
103 <table width="100%" cellpadding="0" cellspacing="0" border="0">
105 <td><span class="summary-sig"><a href="lxml.html.diff.href_token-class.html#html" class="summary-sig-name">html</a>(<span class="summary-sig-arg">self</span>)</span></td>
106 <td align="right" valign="top">
107 <span class="codelink"><a href="lxml.html.diff-pysrc.html#href_token.html">source code</a></span>
116 <td colspan="2" class="summary">
117 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.html.diff.token-class.html" onclick="show_private();">token</a></code></b>:
118 <code><a href="lxml.html.diff.token-class.html#__new__">__new__</a></code>,
119 <code><a href="lxml.html.diff.token-class.html#__repr__">__repr__</a></code>
121 <p class="indent-wrapped-lines"><b>Inherited from <code>unicode</code></b>:
122 <code>__add__</code>,
123 <code>__contains__</code>,
125 <code>__format__</code>,
127 <code>__getattribute__</code>,
128 <code>__getitem__</code>,
129 <code>__getnewargs__</code>,
130 <code>__getslice__</code>,
132 <code>__hash__</code>,
134 <code>__len__</code>,
136 <code>__mod__</code>,
137 <code>__mul__</code>,
139 <code>__rmod__</code>,
140 <code>__rmul__</code>,
141 <code>__sizeof__</code>,
142 <code>__str__</code>,
143 <code>capitalize</code>,
148 <code>endswith</code>,
149 <code>expandtabs</code>,
153 <code>isalnum</code>,
154 <code>isalpha</code>,
155 <code>isdecimal</code>,
156 <code>isdigit</code>,
157 <code>islower</code>,
158 <code>isnumeric</code>,
159 <code>isspace</code>,
160 <code>istitle</code>,
161 <code>isupper</code>,
166 <code>partition</code>,
167 <code>replace</code>,
171 <code>rpartition</code>,
175 <code>splitlines</code>,
176 <code>startswith</code>,
178 <code>swapcase</code>,
180 <code>translate</code>,
184 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code>unicode</code></b> (private):
185 <code>_formatter_field_name_split</code>,
186 <code>_formatter_parser</code>
188 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
189 <code>__delattr__</code>,
190 <code>__init__</code>,
191 <code>__reduce__</code>,
192 <code>__reduce_ex__</code>,
193 <code>__setattr__</code>,
194 <code>__subclasshook__</code>
199 <!-- ==================== CLASS VARIABLES ==================== -->
200 <a name="section-ClassVariables"></a>
201 <table class="summary" border="1" cellpadding="3"
202 cellspacing="0" width="100%" bgcolor="white">
203 <tr bgcolor="#70b0f0" class="table-header">
204 <td colspan="2" class="table-header">
205 <table border="0" cellpadding="0" cellspacing="0" width="100%">
207 <td align="left"><span class="table-header">Class Variables</span></td>
208 <td align="right" valign="top"
209 ><span class="options">[<a href="#section-ClassVariables"
210 class="privatelink" onclick="toggle_private();"
211 >hide private</a>]</span></td>
217 <td width="15%" align="right" valign="top" class="summary">
218 <span class="summary-type"> </span>
219 </td><td class="summary">
220 <a name="hide_when_equal"></a><span class="summary-name">hide_when_equal</span> = <code title="True">True</code>
224 <td width="15%" align="right" valign="top" class="summary">
225 <span class="summary-type"> </span>
226 </td><td class="summary">
227 <a name="__qualname__"></a><span class="summary-name">__qualname__</span> = <code title="'href_token'"><code class="variable-quote">'</code><code class="variable-string">href_token</code><code class="variable-quote">'</code></code>
231 <!-- ==================== PROPERTIES ==================== -->
232 <a name="section-Properties"></a>
233 <table class="summary" border="1" cellpadding="3"
234 cellspacing="0" width="100%" bgcolor="white">
235 <tr bgcolor="#70b0f0" class="table-header">
236 <td colspan="2" class="table-header">
237 <table border="0" cellpadding="0" cellspacing="0" width="100%">
239 <td align="left"><span class="table-header">Properties</span></td>
240 <td align="right" valign="top"
241 ><span class="options">[<a href="#section-Properties"
242 class="privatelink" onclick="toggle_private();"
243 >hide private</a>]</span></td>
249 <td colspan="2" class="summary">
250 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
251 <code>__class__</code>
256 <!-- ==================== METHOD DETAILS ==================== -->
257 <a name="section-MethodDetails"></a>
258 <table class="details" border="1" cellpadding="3"
259 cellspacing="0" width="100%" bgcolor="white">
260 <tr bgcolor="#70b0f0" class="table-header">
261 <td colspan="2" class="table-header">
262 <table border="0" cellpadding="0" cellspacing="0" width="100%">
264 <td align="left"><span class="table-header">Method Details</span></td>
265 <td align="right" valign="top"
266 ><span class="options">[<a href="#section-MethodDetails"
267 class="privatelink" onclick="toggle_private();"
268 >hide private</a>]</span></td>
276 <table class="details" border="1" cellpadding="3"
277 cellspacing="0" width="100%" bgcolor="white">
279 <table width="100%" cellpadding="0" cellspacing="0" border="0">
280 <tr valign="top"><td>
281 <h3 class="epydoc"><span class="sig"><span class="sig-name">html</span>(<span class="sig-arg">self</span>)</span>
283 </td><td align="right" valign="top"
284 ><span class="codelink"><a href="lxml.html.diff-pysrc.html#href_token.html">source code</a></span>
291 <a href="lxml.html.diff.token-class.html#html">token.html</a>
297 <!-- ==================== NAVIGATION BAR ==================== -->
298 <table class="navbar" border="0" width="100%" cellpadding="0"
299 bgcolor="#a0c0ff" cellspacing="0">
302 <th> <a
303 href="lxml-module.html">Home</a> </th>
306 <th> <a
307 href="module-tree.html">Trees</a> </th>
310 <th> <a
311 href="identifier-index.html">Indices</a> </th>
314 <th> <a
315 href="help.html">Help</a> </th>
317 <!-- Project homepage -->
318 <th class="navbar" align="right" width="100%">
319 <table border="0" cellpadding="0" cellspacing="0">
320 <tr><th class="navbar" align="center"
321 ><a class="navbar" target="_top" href="/">lxml API</a></th>
325 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
327 <td align="left" class="footer">
328 Generated by Epydoc 3.0.1
329 on Wed Jan 29 12:26:21 2020
331 <td align="right" class="footer">
332 <a target="mainFrame" href="http://epydoc.sourceforge.net"
333 >http://epydoc.sourceforge.net</a>
338 <script type="text/javascript">
340 // Private objects are initially displayed (because if
341 // javascript is turned off then we want them to be
342 // visible); but by default, we want to hide them. So hide
343 // them unless we have a cookie that says to show them.