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.tests.common_imports.skipif</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.tests-module.html">Package tests</a> ::
47 <a href="lxml.tests.common_imports-module.html">Module common_imports</a> ::
52 <table cellpadding="0" cellspacing="0">
53 <!-- hide/show private -->
54 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55 onclick="toggle_private();">hide private</a>]</span></td></tr>
56 <tr><td align="right"><span class="options"
57 >[<a href="frames.html" target="_top">frames</a
58 >] | <a href="lxml.tests.common_imports.skipif-class.html"
59 target="_top">no frames</a>]</span></td></tr>
64 <!-- ==================== CLASS DESCRIPTION ==================== -->
65 <h1 class="epydoc">Class skipif</h1><p class="nomargin-top"><span class="codelink"><a href="lxml.tests.common_imports-pysrc.html#skipif">source code</a></span></p>
66 <pre class="base-tree">
69 <strong class="uidshort">skipif</strong>
73 Using a class because a function would bind into a method when used in classes
75 <!-- ==================== INSTANCE METHODS ==================== -->
76 <a name="section-InstanceMethods"></a>
77 <table class="summary" border="1" cellpadding="3"
78 cellspacing="0" width="100%" bgcolor="white">
79 <tr bgcolor="#70b0f0" class="table-header">
80 <td colspan="2" class="table-header">
81 <table border="0" cellpadding="0" cellspacing="0" width="100%">
83 <td align="left"><span class="table-header">Instance Methods</span></td>
84 <td align="right" valign="top"
85 ><span class="options">[<a href="#section-InstanceMethods"
86 class="privatelink" onclick="toggle_private();"
87 >hide private</a>]</span></td>
93 <td width="15%" align="right" valign="top" class="summary">
94 <span class="summary-type"> </span>
95 </td><td class="summary">
96 <table width="100%" cellpadding="0" cellspacing="0" border="0">
98 <td><span class="summary-sig"><a name="__call__"></a><span class="summary-sig-name">__call__</span>(<span class="summary-sig-arg">self</span>,
99 <span class="summary-sig-arg">func</span>,
100 <span class="summary-sig-arg">*args</span>)</span></td>
101 <td align="right" valign="top">
102 <span class="codelink"><a href="lxml.tests.common_imports-pysrc.html#skipif.__call__">source code</a></span>
111 <td width="15%" align="right" valign="top" class="summary">
112 <span class="summary-type"> </span>
113 </td><td class="summary">
114 <table width="100%" cellpadding="0" cellspacing="0" border="0">
116 <td><span class="summary-sig"><a href="lxml.tests.common_imports.skipif-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
117 <span class="summary-sig-arg">*args</span>)</span><br />
118 x.__init__(...) initializes x; see help(type(x)) for signature</td>
119 <td align="right" valign="top">
120 <span class="codelink"><a href="lxml.tests.common_imports-pysrc.html#skipif.__init__">source code</a></span>
129 <td colspan="2" class="summary">
130 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
131 <code>__delattr__</code>,
132 <code>__format__</code>,
133 <code>__getattribute__</code>,
134 <code>__hash__</code>,
135 <code>__new__</code>,
136 <code>__reduce__</code>,
137 <code>__reduce_ex__</code>,
138 <code>__repr__</code>,
139 <code>__setattr__</code>,
140 <code>__sizeof__</code>,
141 <code>__str__</code>,
142 <code>__subclasshook__</code>
147 <!-- ==================== PROPERTIES ==================== -->
148 <a name="section-Properties"></a>
149 <table class="summary" border="1" cellpadding="3"
150 cellspacing="0" width="100%" bgcolor="white">
151 <tr bgcolor="#70b0f0" class="table-header">
152 <td colspan="2" class="table-header">
153 <table border="0" cellpadding="0" cellspacing="0" width="100%">
155 <td align="left"><span class="table-header">Properties</span></td>
156 <td align="right" valign="top"
157 ><span class="options">[<a href="#section-Properties"
158 class="privatelink" onclick="toggle_private();"
159 >hide private</a>]</span></td>
165 <td colspan="2" class="summary">
166 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
167 <code>__class__</code>
172 <!-- ==================== METHOD DETAILS ==================== -->
173 <a name="section-MethodDetails"></a>
174 <table class="details" border="1" cellpadding="3"
175 cellspacing="0" width="100%" bgcolor="white">
176 <tr bgcolor="#70b0f0" class="table-header">
177 <td colspan="2" class="table-header">
178 <table border="0" cellpadding="0" cellspacing="0" width="100%">
180 <td align="left"><span class="table-header">Method Details</span></td>
181 <td align="right" valign="top"
182 ><span class="options">[<a href="#section-MethodDetails"
183 class="privatelink" onclick="toggle_private();"
184 >hide private</a>]</span></td>
190 <a name="__init__"></a>
192 <table class="details" border="1" cellpadding="3"
193 cellspacing="0" width="100%" bgcolor="white">
195 <table width="100%" cellpadding="0" cellspacing="0" border="0">
196 <tr valign="top"><td>
197 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
198 <span class="sig-arg">*args</span>)</span>
199 <br /><em class="fname">(Constructor)</em>
201 </td><td align="right" valign="top"
202 ><span class="codelink"><a href="lxml.tests.common_imports-pysrc.html#skipif.__init__">source code</a></span>
206 x.__init__(...) initializes x; see help(type(x)) for signature
210 <dd><em class="note">(inherited documentation)</em></dd>
216 <!-- ==================== NAVIGATION BAR ==================== -->
217 <table class="navbar" border="0" width="100%" cellpadding="0"
218 bgcolor="#a0c0ff" cellspacing="0">
221 <th> <a
222 href="lxml-module.html">Home</a> </th>
225 <th> <a
226 href="module-tree.html">Trees</a> </th>
229 <th> <a
230 href="identifier-index.html">Indices</a> </th>
233 <th> <a
234 href="help.html">Help</a> </th>
236 <!-- Project homepage -->
237 <th class="navbar" align="right" width="100%">
238 <table border="0" cellpadding="0" cellspacing="0">
239 <tr><th class="navbar" align="center"
240 ><a class="navbar" target="_top" href="/">lxml API</a></th>
244 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
246 <td align="left" class="footer">
247 Generated by Epydoc 3.0.1
248 on Thu Jul 9 18:29:53 2020
250 <td align="right" class="footer">
251 <a target="mainFrame" href="http://epydoc.sourceforge.net"
252 >http://epydoc.sourceforge.net</a>
257 <script type="text/javascript">
259 // Private objects are initially displayed (because if
260 // javascript is turned off then we want them to be
261 // visible); but by default, we want to hide them. So hide
262 // them unless we have a cookie that says to show them.