commit | 84402eb11086f97d31164aaa23e7238da3464f41 | [log] [tgz] |
---|---|---|
author | Michael Wayne Goodman <goodman.m.w@gmail.com> | Tue Dec 29 20:33:15 2020 +0800 |
committer | GitHub <noreply@github.com> | Tue Dec 29 14:33:15 2020 +0200 |
tree | fb4b8ea274ba82b1fc777fb109ae67c27d034b40 | |
parent | a4258e8cd776ba655cc54ba54eaeffeddb0a267c [diff] |
bpo-42700: Swap descriptions in pyexpat.errors (GH-23876) The descriptions of the `codes` and `messages` dictionaries in `xml.parsers.expat.errors` were swapped, and this commit swaps them back. For example, `codes` maps string descriptions of errors to numeric error codes, not the other way around.