Documentation/Source/eric5.Utilities.__init__.html

changeset 141
c76f1ec28766
parent 114
f6e7cec11168
child 409
0ea528e80202
child 567
5dcea6a6c0d0
--- a/Documentation/Source/eric5.Utilities.__init__.html	Wed Mar 10 18:16:31 2010 +0000
+++ b/Documentation/Source/eric5.Utilities.__init__.html	Sat Mar 13 15:48:41 2010 +0000
@@ -38,6 +38,9 @@
 <h3>Functions</h3>
 <table>
 <tr>
+<td><a href="#__showwarning">__showwarning</a></td>
+<td>Module function to raise a SyntaxError for a SyntaxWarning.</td>
+</tr><tr>
 <td><a href="#_percentReplacementFunc">_percentReplacementFunc</a></td>
 <td>Protected function called for replacing % codes.</td>
 </tr><tr>
@@ -257,6 +260,39 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="__showwarning" ID="__showwarning"></a>
+<h2>__showwarning</h2>
+<b>__showwarning</b>(<i>message, category, filename, lineno, file = None, line = ""</i>)
+<p>
+    Module function to raise a SyntaxError for a SyntaxWarning.
+</p><dl>
+<dt><i>message</i></dt>
+<dd>
+warning object
+</dd><dt><i>category</i></dt>
+<dd>
+type object of the warning
+</dd><dt><i>filename</i></dt>
+<dd>
+name of the file causing the warning (string)
+</dd><dt><i>lineno</i></dt>
+<dd>
+line number causing the warning (integer)
+</dd><dt><i>file</i></dt>
+<dd>
+file to write the warning message to (ignored)
+</dd><dt><i>line</i></dt>
+<dd>
+line causing the warning (ignored)
+</dd>
+</dl><dl>
+<dt>Raises <b>SyntaxError</b>:</dt>
+<dd>
+
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="_percentReplacementFunc" ID="_percentReplacementFunc"></a>
 <h2>_percentReplacementFunc</h2>
 <b>_percentReplacementFunc</b>(<i>matchobj</i>)

eric ide

mercurial