| ====================================================== |
| |
| .. module:: tabnanny |
| :synopsis: Tool for detecting white space related problems in Python source files in a |
| directory tree. |
| .. moduleauthor:: Tim Peters <tim_one@users.sourceforge.net> |
| .. sectionauthor:: Peter Funk <pf@artcom-gmbh.de> |
| |
n | |
| .. % rudimentary documentation based on module comments, by Peter Funk |
| .. rudimentary documentation based on module comments |
| .. % <pf@artcom-gmbh.de> |
| |
| For the time being this module is intended to be called as a script. However it |
| is possible to import it into an IDE and use the function :func:`check` |
| described below. |
| |
| .. warning:: |
| |
| The API provided by this module is likely to change in future releases; such |
| handled in :func:`check`. |
| |
| |
| .. function:: tokeneater(type, token, start, end, line) |
| |
| This function is used by :func:`check` as a callback parameter to the function |
| :func:`tokenize.tokenize`. |
| |
n | .. % XXX FIXME: Document \function{errprint}, |
n | .. XXX document errprint, format_witnesses, Whitespace, check_equal, indents, |
| .. % \function{format_witnesses} \class{Whitespace} |
| reset_globals |
| .. % check_equal, indents |
| .. % \function{reset_globals} |
| |
| |
| .. seealso:: |
| |
| Module :mod:`tokenize` |
| Lexical scanner for Python source code. |
t | |
| .. % XXX may be add a reference to IDLE? |
| |