GNU Info

Info Node: (python2.1-lib.info)ExpatError Exceptions

(python2.1-lib.info)ExpatError Exceptions


Next: Example 8 Prev: XMLParser Objects Up: xml.parsers.expat
Enter node , (file) or (file)node

ExpatError Exceptions
---------------------

This manual section was written by Fred L. Drake, Jr. <fdrake@acm.org>.
`ExpatError' exceptions have a number of interesting attributes:

`code'
     Expat's internal error number for the specific error.  This will
     match one of the constants defined in the `errors' object from
     this module.  _Added in Python version 2.1_

`lineno'
     Line number on which the error was detected.  The first line is
     numbered `1'.  _Added in Python version 2.1_

`offset'
     Character offset into the line where the error occurred.  The first
     column is numbered `0'.  _Added in Python version 2.1_


automatically generated by info2www version 1.2.2.9