commit | 5b77d81314bb974f212d5849b4c5ceae9e2ba142 | [log] [tgz] |
---|---|---|
author | Eli Bendersky <eliben@gmail.com> | Fri Mar 16 08:20:05 2012 +0200 |
committer | Eli Bendersky <eliben@gmail.com> | Fri Mar 16 08:20:05 2012 +0200 |
tree | 5cb5d2796e6848d6169bcf21569360c1cdd33cc1 | |
parent | f996e775eaf22e6a6465e640a6de46ea74011bc0 [diff] |
Issue #14207: the ParseError exception raised by _elementtree was made consistent to the one raised by the Python module (the 'code' attribute was added). In addition, the exception is now documented. Added a test to check that ParseError has the required attributes, and threw away the equivalent doctest which is no longer required.