Module tabnanny :: Class NannyNag
[hide private]
[frames] | no frames]

type NannyNag

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              NannyNag

Raised by tokeneater() if detecting an ambiguous indent. Captured and handled in check().

Instance Methods [hide private]
 
__init__(self, lineno, msg, line)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
get_lineno(self)
 
get_msg(self)
 
get_line(self)

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Method Details [hide private]

__init__(self, lineno, msg, line)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: exceptions.BaseException.__init__
(inherited documentation)