290 </dl> |
290 </dl> |
291 <div align="right"><a href="#top">Up</a></div> |
291 <div align="right"><a href="#top">Up</a></div> |
292 <hr /><hr /> |
292 <hr /><hr /> |
293 <a NAME="check" ID="check"></a> |
293 <a NAME="check" ID="check"></a> |
294 <h2>check</h2> |
294 <h2>check</h2> |
295 <b>check</b>(<i>file</i>) |
295 <b>check</b>(<i>file, text = ""</i>) |
296 <p> |
296 <p> |
297 Private function to check one Python source file for whitespace related problems. |
297 Private function to check one Python source file for whitespace related problems. |
298 </p><dl> |
298 </p><dl> |
299 <dt><i>file</i></dt> |
299 <dt><i>file</i></dt> |
300 <dd> |
300 <dd> |
301 source filename (string) |
301 source filename (string) |
|
302 </dd><dt><i>text</i></dt> |
|
303 <dd> |
|
304 source text (string) |
302 </dd> |
305 </dd> |
303 </dl><dl> |
306 </dl><dl> |
304 <dt>Returns:</dt> |
307 <dt>Returns:</dt> |
305 <dd> |
308 <dd> |
306 A tuple indicating status (True = an error was found), the |
309 A tuple indicating status (True = an error was found), the |