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.etree.XPathEvalError</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.etree-module.html">Module etree</a> ::
47 Class XPathEvalError
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="lxml.etree.XPathEvalError-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class XPathEvalError</h1><p class="nomargin-top"></p>
65 <pre class="base-tree">
68 exceptions.BaseException --+
70 exceptions.Exception --+
72 <a href="lxml.etree.Error-class.html">Error</a> --+
74 <a href="lxml.etree.LxmlError-class.html">LxmlError</a> --+
76 <a href="lxml.etree.XPathError-class.html">XPathError</a> --+
78 <strong class="uidshort">XPathEvalError</strong>
81 <dl><dt>Known Subclasses:</dt>
83 <ul class="subclass-list">
84 <li><a href="lxml.etree.XPathFunctionError-class.html">XPathFunctionError</a></li><li>, <a href="lxml.etree.XPathResultError-class.html">XPathResultError</a></li> </ul>
88 Error during XPath evaluation.
90 <!-- ==================== INSTANCE METHODS ==================== -->
91 <a name="section-InstanceMethods"></a>
92 <table class="summary" border="1" cellpadding="3"
93 cellspacing="0" width="100%" bgcolor="white">
94 <tr bgcolor="#70b0f0" class="table-header">
95 <td colspan="2" class="table-header">
96 <table border="0" cellpadding="0" cellspacing="0" width="100%">
98 <td align="left"><span class="table-header">Instance Methods</span></td>
99 <td align="right" valign="top"
100 ><span class="options">[<a href="#section-InstanceMethods"
101 class="privatelink" onclick="toggle_private();"
102 >hide private</a>]</span></td>
108 <td width="15%" align="right" valign="top" class="summary">
109 <span class="summary-type">a new object with type S, a subtype of T</span>
110 </td><td class="summary">
111 <table width="100%" cellpadding="0" cellspacing="0" border="0">
113 <td><span class="summary-sig"><a href="lxml.etree.XPathEvalError-class.html#__new__" class="summary-sig-name">__new__</a>(<span class="summary-sig-arg">T</span>,
114 <span class="summary-sig-arg">S</span>,
115 <span class="summary-sig-arg">...</span>)</span></td>
116 <td align="right" valign="top">
126 <td colspan="2" class="summary">
127 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.LxmlError-class.html">LxmlError</a></code></b>:
128 <code><a href="lxml.etree.LxmlError-class.html#__init__">__init__</a></code>
130 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
131 <code>__delattr__</code>,
132 <code>__getattribute__</code>,
133 <code>__getitem__</code>,
134 <code>__getslice__</code>,
135 <code>__reduce__</code>,
136 <code>__repr__</code>,
137 <code>__setattr__</code>,
138 <code>__setstate__</code>,
139 <code>__str__</code>,
140 <code>__unicode__</code>
142 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
143 <code>__format__</code>,
144 <code>__hash__</code>,
145 <code>__reduce_ex__</code>,
146 <code>__sizeof__</code>,
147 <code>__subclasshook__</code>
152 <!-- ==================== PROPERTIES ==================== -->
153 <a name="section-Properties"></a>
154 <table class="summary" border="1" cellpadding="3"
155 cellspacing="0" width="100%" bgcolor="white">
156 <tr bgcolor="#70b0f0" class="table-header">
157 <td colspan="2" class="table-header">
158 <table border="0" cellpadding="0" cellspacing="0" width="100%">
160 <td align="left"><span class="table-header">Properties</span></td>
161 <td align="right" valign="top"
162 ><span class="options">[<a href="#section-Properties"
163 class="privatelink" onclick="toggle_private();"
164 >hide private</a>]</span></td>
170 <td colspan="2" class="summary">
171 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
175 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
176 <code>__class__</code>
181 <!-- ==================== METHOD DETAILS ==================== -->
182 <a name="section-MethodDetails"></a>
183 <table class="details" border="1" cellpadding="3"
184 cellspacing="0" width="100%" bgcolor="white">
185 <tr bgcolor="#70b0f0" class="table-header">
186 <td colspan="2" class="table-header">
187 <table border="0" cellpadding="0" cellspacing="0" width="100%">
189 <td align="left"><span class="table-header">Method Details</span></td>
190 <td align="right" valign="top"
191 ><span class="options">[<a href="#section-MethodDetails"
192 class="privatelink" onclick="toggle_private();"
193 >hide private</a>]</span></td>
199 <a name="__new__"></a>
201 <table class="details" border="1" cellpadding="3"
202 cellspacing="0" width="100%" bgcolor="white">
204 <table width="100%" cellpadding="0" cellspacing="0" border="0">
205 <tr valign="top"><td>
206 <h3 class="epydoc"><span class="sig"><span class="sig-name">__new__</span>(<span class="sig-arg">T</span>,
207 <span class="sig-arg">S</span>,
208 <span class="sig-arg">...</span>)</span>
210 </td><td align="right" valign="top"
217 <dt>Returns: a new object with type S, a subtype of T</dt>
225 <!-- ==================== NAVIGATION BAR ==================== -->
226 <table class="navbar" border="0" width="100%" cellpadding="0"
227 bgcolor="#a0c0ff" cellspacing="0">
230 <th> <a
231 href="lxml-module.html">Home</a> </th>
234 <th> <a
235 href="module-tree.html">Trees</a> </th>
238 <th> <a
239 href="identifier-index.html">Indices</a> </th>
242 <th> <a
243 href="help.html">Help</a> </th>
245 <!-- Project homepage -->
246 <th class="navbar" align="right" width="100%">
247 <table border="0" cellpadding="0" cellspacing="0">
248 <tr><th class="navbar" align="center"
249 ><a class="navbar" target="_top" href="/">lxml API</a></th>
253 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
255 <td align="left" class="footer">
256 Generated by Epydoc 3.0.1
257 on Wed Jan 29 12:26:21 2020
259 <td align="right" class="footer">
260 <a target="mainFrame" href="http://epydoc.sourceforge.net"
261 >http://epydoc.sourceforge.net</a>
266 <script type="text/javascript">
268 // Private objects are initially displayed (because if
269 // javascript is turned off then we want them to be
270 // visible); but by default, we want to hide them. So hide
271 // them unless we have a cookie that says to show them.