Package lxml :: Module etree :: Class ParseError

[hide private]
[frames] | no frames]

# Class ParseError

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
                               Error --+
                                       |
                               LxmlError --+
                                           |
                  object --+               |
                           |               |
    exceptions.BaseException --+           |
                               |           |
            exceptions.Exception --+       |
                                   |       |
            exceptions.StandardError --+   |
                                       |   |
                  exceptions.SyntaxError --+
                                           |
                             LxmlSyntaxError --+
                                               |
                                              ParseError

Known Subclasses:
  - XMLSyntaxError

Syntax error while parsing an XML document.

For compatibility with ElementTree 1.3 and later.

Instance Methods | [hide private]

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

Inherited from `exceptions.SyntaxError`: `__new__`, `__str__` Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__`, `__unicode__` Inherited from `object`: `__format__`, `__hash__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Properties | [hide private]

Inherited from `exceptions.SyntaxError`: `filename`, `lineno`, `msg`, `offset`, `print_file_and_line`, `text` Inherited from `exceptions.BaseException`: `args`, `message` Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(...)
(Constructor)

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

Overrides: object.__init__
  (inherited documentation)