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>exceptions.AssertionError</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">
47 Class AssertionError
51 <table cellpadding="0" cellspacing="0">
52 <!-- hide/show private -->
53 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
54 onclick="toggle_private();">hide private</a>]</span></td></tr>
55 <tr><td align="right"><span class="options"
56 >[<a href="frames.html" target="_top">frames</a
57 >] | <a href="exceptions.AssertionError-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class AssertionError</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
74 <strong class="uidshort">AssertionError</strong>
80 <!-- ==================== INSTANCE METHODS ==================== -->
81 <a name="section-InstanceMethods"></a>
82 <table class="summary" border="1" cellpadding="3"
83 cellspacing="0" width="100%" bgcolor="white">
84 <tr bgcolor="#70b0f0" class="table-header">
85 <td colspan="2" class="table-header">
86 <table border="0" cellpadding="0" cellspacing="0" width="100%">
88 <td align="left"><span class="table-header">Instance Methods</span></td>
89 <td align="right" valign="top"
90 ><span class="options">[<a href="#section-InstanceMethods"
91 class="privatelink" onclick="toggle_private();"
92 >hide private</a>]</span></td>
98 <td width="15%" align="right" valign="top" class="summary">
99 <span class="summary-type"> </span>
100 </td><td class="summary">
101 <table width="100%" cellpadding="0" cellspacing="0" border="0">
103 <td><span class="summary-sig"><a href="exceptions.AssertionError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">...</span>)</span><br />
104 x.__init__(...) initializes x; see help(type(x)) for signature</td>
105 <td align="right" valign="top">
115 <td width="15%" align="right" valign="top" class="summary">
116 <span class="summary-type">a new object with type S, a subtype of T</span>
117 </td><td class="summary">
118 <table width="100%" cellpadding="0" cellspacing="0" border="0">
120 <td><span class="summary-sig"><a href="exceptions.AssertionError-class.html#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">T</span>,
121 <span class="summary-sig-arg">S</span>,
122 <span class="summary-sig-arg">...</span>)</span></td>
123 <td align="right" valign="top">
133 <td colspan="2" class="summary">
134 <p class="indent-wrapped-lines"><b>Inherited from <code>BaseException</code></b>:
135 <code>__delattr__</code>,
136 <code>__getattribute__</code>,
137 <code>__getitem__</code>,
138 <code>__getslice__</code>,
139 <code>__reduce__</code>,
140 <code>__repr__</code>,
141 <code>__setattr__</code>,
142 <code>__setstate__</code>,
143 <code>__str__</code>,
144 <code>__unicode__</code>
146 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
147 <code>__format__</code>,
148 <code>__hash__</code>,
149 <code>__reduce_ex__</code>,
150 <code>__sizeof__</code>,
151 <code>__subclasshook__</code>
156 <!-- ==================== PROPERTIES ==================== -->
157 <a name="section-Properties"></a>
158 <table class="summary" border="1" cellpadding="3"
159 cellspacing="0" width="100%" bgcolor="white">
160 <tr bgcolor="#70b0f0" class="table-header">
161 <td colspan="2" class="table-header">
162 <table border="0" cellpadding="0" cellspacing="0" width="100%">
164 <td align="left"><span class="table-header">Properties</span></td>
165 <td align="right" valign="top"
166 ><span class="options">[<a href="#section-Properties"
167 class="privatelink" onclick="toggle_private();"
168 >hide private</a>]</span></td>
174 <td colspan="2" class="summary">
175 <p class="indent-wrapped-lines"><b>Inherited from <code>BaseException</code></b>:
179 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
180 <code>__class__</code>
185 <!-- ==================== METHOD DETAILS ==================== -->
186 <a name="section-MethodDetails"></a>
187 <table class="details" border="1" cellpadding="3"
188 cellspacing="0" width="100%" bgcolor="white">
189 <tr bgcolor="#70b0f0" class="table-header">
190 <td colspan="2" class="table-header">
191 <table border="0" cellpadding="0" cellspacing="0" width="100%">
193 <td align="left"><span class="table-header">Method Details</span></td>
194 <td align="right" valign="top"
195 ><span class="options">[<a href="#section-MethodDetails"
196 class="privatelink" onclick="toggle_private();"
197 >hide private</a>]</span></td>
203 <a name="__init__"></a>
205 <table class="details" border="1" cellpadding="3"
206 cellspacing="0" width="100%" bgcolor="white">
208 <table width="100%" cellpadding="0" cellspacing="0" border="0">
209 <tr valign="top"><td>
210 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">...</span>)</span>
211 <br /><em class="fname">(Constructor)</em>
213 </td><td align="right" valign="top"
218 x.__init__(...) initializes x; see help(type(x)) for signature
226 <a name="__new__"></a>
228 <table class="details" border="1" cellpadding="3"
229 cellspacing="0" width="100%" bgcolor="white">
231 <table width="100%" cellpadding="0" cellspacing="0" border="0">
232 <tr valign="top"><td>
233 <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
234 <span class="sig-arg">S</span>,
235 <span class="sig-arg">...</span>)</span>
237 </td><td align="right" valign="top"
244 <dt>Returns: a new object with type S, a subtype of T</dt>
252 <!-- ==================== NAVIGATION BAR ==================== -->
253 <table class="navbar" border="0" width="100%" cellpadding="0"
254 bgcolor="#a0c0ff" cellspacing="0">
257 <th> <a
258 href="lxml-module.html">Home</a> </th>
261 <th> <a
262 href="module-tree.html">Trees</a> </th>
265 <th> <a
266 href="identifier-index.html">Indices</a> </th>
269 <th> <a
270 href="help.html">Help</a> </th>
272 <!-- Project homepage -->
273 <th class="navbar" align="right" width="100%">
274 <table border="0" cellpadding="0" cellspacing="0">
275 <tr><th class="navbar" align="center"
276 ><a class="navbar" target="_top" href="/">lxml API</a></th>
280 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
282 <td align="left" class="footer">
283 Generated by Epydoc 3.0.1
284 on Wed Jan 29 12:26:21 2020
286 <td align="right" class="footer">
287 <a target="mainFrame" href="http://epydoc.sourceforge.net"
288 >http://epydoc.sourceforge.net</a>
293 <script type="text/javascript">
295 // Private objects are initially displayed (because if
296 // javascript is turned off then we want them to be
297 // visible); but by default, we want to hide them. So hide
298 // them unless we have a cookie that says to show them.