Method Summary |
Inherited from ParseError |
|
__init__ (self,
descr,
linenum,
is_fatal)
|
int
|
__cmp__ (self,
other)
Compare two ParseError s, based on their line number. |
string
|
__repr__ (self)
Return the formal representation of this ParseError . |
string
|
__str__ (self)
Return a string representation of this ParseError . |
boolean
|
is_fatal (self)
Return true if this is a fatal error. |
int or None
|
linenum (self)
Return the line number on which the error occured (including any offset). |
None
|
set_linenum_offset (self,
offset)
Set the line number offset for this error. |
Inherited from Exception |
|
__getitem__ (...)
|