1import sys
2from typing import Dict
3
4if sys.version_info >= (3, 2):
5    codes: Dict[str, int]
6    messages: Dict[int, str]
7
8XML_ERROR_ABORTED: str
9XML_ERROR_ASYNC_ENTITY: str
10XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF: str
11XML_ERROR_BAD_CHAR_REF: str
12XML_ERROR_BINARY_ENTITY_REF: str
13XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING: str
14XML_ERROR_DUPLICATE_ATTRIBUTE: str
15XML_ERROR_ENTITY_DECLARED_IN_PE: str
16XML_ERROR_EXTERNAL_ENTITY_HANDLING: str
17XML_ERROR_FEATURE_REQUIRES_XML_DTD: str
18XML_ERROR_FINISHED: str
19XML_ERROR_INCOMPLETE_PE: str
20XML_ERROR_INCORRECT_ENCODING: str
21XML_ERROR_INVALID_TOKEN: str
22XML_ERROR_JUNK_AFTER_DOC_ELEMENT: str
23XML_ERROR_MISPLACED_XML_PI: str
24XML_ERROR_NOT_STANDALONE: str
25XML_ERROR_NOT_SUSPENDED: str
26XML_ERROR_NO_ELEMENTS: str
27XML_ERROR_NO_MEMORY: str
28XML_ERROR_PARAM_ENTITY_REF: str
29XML_ERROR_PARTIAL_CHAR: str
30XML_ERROR_PUBLICID: str
31XML_ERROR_RECURSIVE_ENTITY_REF: str
32XML_ERROR_SUSPENDED: str
33XML_ERROR_SUSPEND_PE: str
34XML_ERROR_SYNTAX: str
35XML_ERROR_TAG_MISMATCH: str
36XML_ERROR_TEXT_DECL: str
37XML_ERROR_UNBOUND_PREFIX: str
38XML_ERROR_UNCLOSED_CDATA_SECTION: str
39XML_ERROR_UNCLOSED_TOKEN: str
40XML_ERROR_UNDECLARING_PREFIX: str
41XML_ERROR_UNDEFINED_ENTITY: str
42XML_ERROR_UNEXPECTED_STATE: str
43XML_ERROR_UNKNOWN_ENCODING: str
44XML_ERROR_XML_DECL: str
45