5b1273a7bb68fbcd0f972c64744ce79dc60c06b2
[platform/upstream/python-lxml.git] / doc / html / api / exceptions.AssertionError-class.html
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">
5 <head>
6   <title>exceptions.AssertionError</title>
7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
8   <script type="text/javascript" src="epydoc.js"></script>
9 </head>
10
11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
12       alink="#204080">
13 <!-- ==================== NAVIGATION BAR ==================== -->
14 <table class="navbar" border="0" width="100%" cellpadding="0"
15        bgcolor="#a0c0ff" cellspacing="0">
16   <tr valign="middle">
17   <!-- Home link -->
18       <th>&nbsp;&nbsp;&nbsp;<a
19         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21   <!-- Tree link -->
22       <th>&nbsp;&nbsp;&nbsp;<a
23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25   <!-- Index link -->
26       <th>&nbsp;&nbsp;&nbsp;<a
27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29   <!-- Help link -->
30       <th>&nbsp;&nbsp;&nbsp;<a
31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
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>
38           </tr></table></th>
39   </tr>
40 </table>
41 <table width="100%" cellpadding="0" cellspacing="0">
42   <tr valign="top">
43     <td width="100%">
44       <span class="breadcrumbs">
45         exceptions ::
46         AssertionError ::
47         Class&nbsp;AssertionError
48       </span>
49     </td>
50     <td>
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&nbsp;private</a>]</span></td></tr>
55         <tr><td align="right"><span class="options"
56             >[<a href="frames.html" target="_top">frames</a
57             >]&nbsp;|&nbsp;<a href="exceptions.AssertionError-class.html"
58             target="_top">no&nbsp;frames</a>]</span></td></tr>
59       </table>
60     </td>
61   </tr>
62 </table>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class AssertionError</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
66    object --+            
67             |            
68 BaseException --+        
69                 |        
70         Exception --+    
71                     |    
72         StandardError --+
73                         |
74                        <strong class="uidshort">AssertionError</strong>
75 </pre>
76
77 <hr />
78 Assertion failed.
79
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%">
87       <tr valign="top">
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>
93       </tr>
94     </table>
95   </td>
96 </tr>
97 <tr>
98     <td width="15%" align="right" valign="top" class="summary">
99       <span class="summary-type">&nbsp;</span>
100     </td><td class="summary">
101       <table width="100%" cellpadding="0" cellspacing="0" border="0">
102         <tr>
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">
106             
107             
108           </td>
109         </tr>
110       </table>
111       
112     </td>
113   </tr>
114 <tr>
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">
119         <tr>
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">
124             
125             
126           </td>
127         </tr>
128       </table>
129       
130     </td>
131   </tr>
132   <tr>
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>
145       </p>
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>
152       </p>
153     </td>
154   </tr>
155 </table>
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%">
163       <tr valign="top">
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>
169       </tr>
170     </table>
171   </td>
172 </tr>
173   <tr>
174     <td colspan="2" class="summary">
175     <p class="indent-wrapped-lines"><b>Inherited from <code>BaseException</code></b>:
176       <code>args</code>,
177       <code>message</code>
178       </p>
179     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
180       <code>__class__</code>
181       </p>
182     </td>
183   </tr>
184 </table>
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%">
192       <tr valign="top">
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>
198       </tr>
199     </table>
200   </td>
201 </tr>
202 </table>
203 <a name="__init__"></a>
204 <div>
205 <table class="details" border="1" cellpadding="3"
206        cellspacing="0" width="100%" bgcolor="white">
207 <tr><td>
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>
212   </h3>
213   </td><td align="right" valign="top"
214     >&nbsp;
215     </td>
216   </tr></table>
217   
218   x.__init__(...) initializes x; see help(type(x)) for signature
219   <dl class="fields">
220     <dt>Overrides:
221         object.__init__
222     </dt>
223   </dl>
224 </td></tr></table>
225 </div>
226 <a name="__new__"></a>
227 <div>
228 <table class="details" border="1" cellpadding="3"
229        cellspacing="0" width="100%" bgcolor="white">
230 <tr><td>
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>
236   </h3>
237   </td><td align="right" valign="top"
238     >&nbsp;
239     </td>
240   </tr></table>
241   
242   
243   <dl class="fields">
244     <dt>Returns: a new object with type S, a subtype of T</dt>
245     <dt>Overrides:
246         object.__new__
247     </dt>
248   </dl>
249 </td></tr></table>
250 </div>
251 <br />
252 <!-- ==================== NAVIGATION BAR ==================== -->
253 <table class="navbar" border="0" width="100%" cellpadding="0"
254        bgcolor="#a0c0ff" cellspacing="0">
255   <tr valign="middle">
256   <!-- Home link -->
257       <th>&nbsp;&nbsp;&nbsp;<a
258         href="lxml-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
259
260   <!-- Tree link -->
261       <th>&nbsp;&nbsp;&nbsp;<a
262         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
263
264   <!-- Index link -->
265       <th>&nbsp;&nbsp;&nbsp;<a
266         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
267
268   <!-- Help link -->
269       <th>&nbsp;&nbsp;&nbsp;<a
270         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
271
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>
277           </tr></table></th>
278   </tr>
279 </table>
280 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
281   <tr>
282     <td align="left" class="footer">
283     Generated by Epydoc 3.0.1
284     on Wed Jan 29 12:26:21 2020
285     </td>
286     <td align="right" class="footer">
287       <a target="mainFrame" href="http://epydoc.sourceforge.net"
288         >http://epydoc.sourceforge.net</a>
289     </td>
290   </tr>
291 </table>
292
293 <script type="text/javascript">
294   <!--
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.
299   checkCookie();
300   // -->
301 </script>
302 </body>
303 </html>