Documentation/Source/eric5.Utilities.__init__.html

changeset 802
e8882d16384c
parent 795
917f1945355c
child 915
c1e052773c08
child 1107
cad60e83a962
--- a/Documentation/Source/eric5.Utilities.__init__.html	Sun Jan 02 12:01:37 2011 +0100
+++ b/Documentation/Source/eric5.Utilities.__init__.html	Mon Jan 03 17:10:45 2011 +0100
@@ -1232,21 +1232,27 @@
 <hr /><hr />
 <a NAME="py2compile" ID="py2compile"></a>
 <h2>py2compile</h2>
-<b>py2compile</b>(<i>file</i>)
+<b>py2compile</b>(<i>file, checkFlakes = False</i>)
 <p>
     Function to compile one Python 2 source file to Python 2 bytecode.
 </p><dl>
 <dt><i>file</i></dt>
 <dd>
 source filename (string)
+</dd><dt><i>checkFlakes=</i></dt>
+<dd>
+flag indicating to do a pyflakes check (boolean)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
 A tuple indicating status (True = an error was found), the
-        filename, the linenumber, the code string and the error message
-        (boolean, string, string, string, string). The values are only
-        valid, if the status is True.
+        file name, the line number, the code string, the error message
+        and a list of tuples of pyflakes warnings indicating file name,
+        line number and message (boolean, string, string, string, string, 
+        list of (string, string, string)). The syntax error values are only
+        valid, if the status is True. The pyflakes list will be empty, if a
+        syntax error was detected by the syntax checker.
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial