UtilitiesPython2/Tabnanny.py

changeset 2965
d133c7edd88a
parent 945
8cd4d08fa9f6
child 2998
95581102e03e
diff -r 84b65fb9e780 -r d133c7edd88a UtilitiesPython2/Tabnanny.py
--- a/UtilitiesPython2/Tabnanny.py	Sun Sep 29 15:54:10 2013 +0200
+++ b/UtilitiesPython2/Tabnanny.py	Sun Sep 29 18:22:08 2013 +0200
@@ -51,6 +51,8 @@
 
 class NannyNag(Exception):
     """
+    Class implementing an exception to indicate indentation issues.
+    
     Raised by tokeneater() if detecting an ambiguous indent.
     Captured and handled in check().
     """
@@ -332,6 +334,7 @@
     Function processing all tokens generated by a tokenizer run.
     
     @param tokens list of tokens
+    @exception NannyNag raised to indicate an indentation issue
     """
     INDENT = tokenize.INDENT
     DEDENT = tokenize.DEDENT

eric ide

mercurial