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>Deprecation List</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 bgcolor="#70b0f0" class="navbar-select"
27 > Indices </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">
43 <td width="100%"> </td>
45 <table cellpadding="0" cellspacing="0">
46 <!-- hide/show private -->
47 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
48 onclick="toggle_private();">hide private</a>]</span></td></tr>
49 <tr><td align="right"><span class="options"
50 >[<a href="frames.html" target="_top">frames</a
51 >] | <a href="deprecated-index.html"
52 target="_top">no frames</a>]</span></td></tr>
58 <a href="identifier-index.html">Identifiers</a>
59 | <a href="deprecated-index.html">Deprecations</a>
61 <h1 class="epydoc"><a name="deprecated">Deprecation List</a></h1>
64 <table width="100%" class="metadata-index" bgcolor="#e0e0e0"><tr><td class="metadata-index"><b>Deprecations in ??._BaseParser.setElementClassLookup</b> <ul class="nomargin">
65 <li>use <tt class="rst-docutils literal">parser.set_element_class_lookup(lookup)</tt> instead.</li>
69 <table width="100%" class="metadata-index" bgcolor="#e0e0e0"><tr><td class="metadata-index"><b>Deprecations in <a href="lxml.etree.XSLT-class.html#apply">lxml.etree.XSLT.apply</a></b> <ul class="nomargin">
70 <li>call the object, not this method.</li>
74 <table width="100%" class="metadata-index" bgcolor="#e0e0e0"><tr><td class="metadata-index"><b>Deprecations in <a href="lxml.etree.XSLT-class.html#tostring">lxml.etree.XSLT.tostring</a></b> <ul class="nomargin">
75 <li>use str(result_tree) instead.</li>
79 <table width="100%" class="metadata-index" bgcolor="#e0e0e0"><tr><td class="metadata-index"><b>Deprecations in <a href="lxml.etree._Element-class.html#getchildren">lxml.etree._Element.getchildren</a></b> <ul class="nomargin">
80 <li>Note that this method has been deprecated as of
81 ElementTree 1.3 and lxml 2.0. New code should use
82 <tt class="rst-docutils literal">list(element)</tt> or simply iterate over elements.</li>
86 <table width="100%" class="metadata-index" bgcolor="#e0e0e0"><tr><td class="metadata-index"><b>Deprecations in <a href="lxml.etree._Element-class.html#getiterator">lxml.etree._Element.getiterator</a></b> <ul class="nomargin">
87 <li>Note that this method is deprecated as of
88 ElementTree 1.3 and lxml 2.0. It returns an iterator in
89 lxml, which diverges from the original ElementTree
90 behaviour. If you want an efficient iterator, use the
91 <tt class="rst-docutils literal">element.iter()</tt> method instead. You should only use this
92 method in new code if you require backwards compatibility
93 with older versions of lxml or ElementTree.</li>
97 <table width="100%" class="metadata-index" bgcolor="#e0e0e0"><tr><td class="metadata-index"><b>Deprecations in <a href="lxml.etree._ElementTree-class.html#getiterator">lxml.etree._ElementTree.getiterator</a></b> <ul class="nomargin">
98 <li>Note that this method is deprecated as of
99 ElementTree 1.3 and lxml 2.0. It returns an iterator in
100 lxml, which diverges from the original ElementTree
101 behaviour. If you want an efficient iterator, use the
102 <tt class="rst-docutils literal">tree.iter()</tt> method instead. You should only use this
103 method in new code if you require backwards compatibility
104 with older versions of lxml or ElementTree.</li>
107 <div class="private">
108 <table width="100%" class="metadata-index" bgcolor="#e0e0e0"><tr><td class="metadata-index"><b>Deprecations in <a href="lxml.etree._XPathEvaluatorBase-class.html#evaluate">lxml.etree._XPathEvaluatorBase.evaluate</a></b> <ul class="nomargin">
109 <li>call the object, not its method.</li>
113 <table width="100%" class="metadata-index" bgcolor="#e0e0e0"><tr><td class="metadata-index"><b>Deprecations in <a href="lxml.etree-module.html#tounicode">lxml.etree.tounicode</a></b> <ul class="nomargin">
114 <li>use <tt class="rst-docutils literal">tostring(el, <span class="pre">encoding='unicode')</span></tt> instead.</li>
117 <br /><!-- ==================== NAVIGATION BAR ==================== -->
118 <table class="navbar" border="0" width="100%" cellpadding="0"
119 bgcolor="#a0c0ff" cellspacing="0">
122 <th> <a
123 href="lxml-module.html">Home</a> </th>
126 <th> <a
127 href="module-tree.html">Trees</a> </th>
130 <th bgcolor="#70b0f0" class="navbar-select"
131 > Indices </th>
134 <th> <a
135 href="help.html">Help</a> </th>
137 <!-- Project homepage -->
138 <th class="navbar" align="right" width="100%">
139 <table border="0" cellpadding="0" cellspacing="0">
140 <tr><th class="navbar" align="center"
141 ><a class="navbar" target="_top" href="/">lxml API</a></th>
145 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
147 <td align="left" class="footer">
148 Generated by Epydoc 3.0.1
149 on Thu Jul 9 18:29:53 2020
151 <td align="right" class="footer">
152 <a target="mainFrame" href="http://epydoc.sourceforge.net"
153 >http://epydoc.sourceforge.net</a>
158 <script type="text/javascript">
160 // Private objects are initially displayed (because if
161 // javascript is turned off then we want them to be
162 // visible); but by default, we want to hide them. So hide
163 // them unless we have a cookie that says to show them.