| Home | Trees | Index | Help |  | 
|---|
| Package epydoc :: Package markup :: Class ParseError | 
 | 
Exception --+
            |
           ParseError
ColorizingError,
    StructuringError,
    TokenizationError| Method Summary | |
|---|---|
|  | |
| int | Compare two ParseErrors, based on their line number. | 
| string | Return the formal representation of this ParseError. | 
| string | Return a string representation of this ParseError. | 
| boolean | Return true if this is a fatal error. | 
| intorNone | Return the line number on which the error occured (including any offset). | 
| None | Set the line number offset for this error. | 
| Inherited from Exception:__getitem__ | |
| Method Details | 
|---|
| __init__(self,
          descr,
          linenum=None,
          is_fatal=1)
     | 
| __cmp__(self,
          other)
    Compare two | 
| __repr__(self)
    Return the formal representation of this | 
| __str__(self)
    Return a string representation of this | 
| is_fatal(self)
 | 
| linenum(self)
 | 
| set_linenum_offset(self, offset)Set the line number offset for this error. This offset is the line number where the docstring begins. This offset is added to_linenumwhen displaying the line number of the error.
 | 
| Home | Trees | Index | Help |  | 
|---|
| Generated by Epydoc 2.1 on Sat Mar 20 17:46:13 2004 | http://epydoc.sf.net |