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.LxmlSyntaxError</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 LxmlSyntaxError
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.LxmlSyntaxError-class.html"
58 target="_top">no frames</a>]</span></td></tr>
63 <!-- ==================== CLASS DESCRIPTION ==================== -->
64 <h1 class="epydoc">Class LxmlSyntaxError</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> --+
78 exceptions.BaseException --+ |
80 exceptions.Exception --+ |
82 exceptions.StandardError --+ |
84 exceptions.SyntaxError --+
86 <strong class="uidshort">LxmlSyntaxError</strong>
89 <dl><dt>Known Subclasses:</dt>
91 <ul class="subclass-list">
92 <li><a href="lxml.ElementInclude.FatalIncludeError-class.html">ElementInclude.FatalIncludeError</a></li><li>, <a href="lxml.etree.ParseError-class.html">ParseError</a></li><li>, <a href="lxml.etree.XPathSyntaxError-class.html">XPathSyntaxError</a></li> </ul>
96 Base class for all syntax errors.
98 <!-- ==================== INSTANCE METHODS ==================== -->
99 <a name="section-InstanceMethods"></a>
100 <table class="summary" border="1" cellpadding="3"
101 cellspacing="0" width="100%" bgcolor="white">
102 <tr bgcolor="#70b0f0" class="table-header">
103 <td colspan="2" class="table-header">
104 <table border="0" cellpadding="0" cellspacing="0" width="100%">
106 <td align="left"><span class="table-header">Instance Methods</span></td>
107 <td align="right" valign="top"
108 ><span class="options">[<a href="#section-InstanceMethods"
109 class="privatelink" onclick="toggle_private();"
110 >hide private</a>]</span></td>
116 <td colspan="2" class="summary">
117 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="lxml.etree.LxmlError-class.html">LxmlError</a></code></b>:
118 <code><a href="lxml.etree.LxmlError-class.html#__init__">__init__</a></code>,
119 <code><a href="lxml.etree.LxmlError-class.html#__new__">__new__</a></code>
121 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.SyntaxError</code></b>:
124 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
125 <code>__delattr__</code>,
126 <code>__getattribute__</code>,
127 <code>__getitem__</code>,
128 <code>__getslice__</code>,
129 <code>__reduce__</code>,
130 <code>__repr__</code>,
131 <code>__setattr__</code>,
132 <code>__setstate__</code>,
133 <code>__unicode__</code>
135 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
136 <code>__format__</code>,
137 <code>__hash__</code>,
138 <code>__reduce_ex__</code>,
139 <code>__sizeof__</code>,
140 <code>__subclasshook__</code>
145 <!-- ==================== CLASS VARIABLES ==================== -->
146 <a name="section-ClassVariables"></a>
147 <table class="summary" border="1" cellpadding="3"
148 cellspacing="0" width="100%" bgcolor="white">
149 <tr bgcolor="#70b0f0" class="table-header">
150 <td colspan="2" class="table-header">
151 <table border="0" cellpadding="0" cellspacing="0" width="100%">
153 <td align="left"><span class="table-header">Class Variables</span></td>
154 <td align="right" valign="top"
155 ><span class="options">[<a href="#section-ClassVariables"
156 class="privatelink" onclick="toggle_private();"
157 >hide private</a>]</span></td>
163 <td width="15%" align="right" valign="top" class="summary">
164 <span class="summary-type"> </span>
165 </td><td class="summary">
166 <a name="__qualname__"></a><span class="summary-name">__qualname__</span> = <code title="'LxmlSyntaxError'"><code class="variable-quote">'</code><code class="variable-string">LxmlSyntaxError</code><code class="variable-quote">'</code></code>
170 <!-- ==================== PROPERTIES ==================== -->
171 <a name="section-Properties"></a>
172 <table class="summary" border="1" cellpadding="3"
173 cellspacing="0" width="100%" bgcolor="white">
174 <tr bgcolor="#70b0f0" class="table-header">
175 <td colspan="2" class="table-header">
176 <table border="0" cellpadding="0" cellspacing="0" width="100%">
178 <td align="left"><span class="table-header">Properties</span></td>
179 <td align="right" valign="top"
180 ><span class="options">[<a href="#section-Properties"
181 class="privatelink" onclick="toggle_private();"
182 >hide private</a>]</span></td>
188 <td colspan="2" class="summary">
189 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.SyntaxError</code></b>:
190 <code>filename</code>,
194 <code>print_file_and_line</code>,
197 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
201 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
202 <code>__class__</code>
207 <!-- ==================== NAVIGATION BAR ==================== -->
208 <table class="navbar" border="0" width="100%" cellpadding="0"
209 bgcolor="#a0c0ff" cellspacing="0">
212 <th> <a
213 href="lxml-module.html">Home</a> </th>
216 <th> <a
217 href="module-tree.html">Trees</a> </th>
220 <th> <a
221 href="identifier-index.html">Indices</a> </th>
224 <th> <a
225 href="help.html">Help</a> </th>
227 <!-- Project homepage -->
228 <th class="navbar" align="right" width="100%">
229 <table border="0" cellpadding="0" cellspacing="0">
230 <tr><th class="navbar" align="center"
231 ><a class="navbar" target="_top" href="/">lxml API</a></th>
235 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
237 <td align="left" class="footer">
238 Generated by Epydoc 3.0.1
239 on Wed Jan 29 12:26:21 2020
241 <td align="right" class="footer">
242 <a target="mainFrame" href="http://epydoc.sourceforge.net"
243 >http://epydoc.sourceforge.net</a>
248 <script type="text/javascript">
250 // Private objects are initially displayed (because if
251 // javascript is turned off then we want them to be
252 // visible); but by default, we want to hide them. So hide
253 // them unless we have a cookie that says to show them.