diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-05-22 14:07:51 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-05-22 14:07:51 (GMT) |
commit | 66d53fa9ad846a401292eec622a6a98983bed578 (patch) | |
tree | 210b779b9e53f5372a645014459aa98145177185 /Include/pyexpat.h | |
parent | 9e62d35e656ff2c8c3343943a9b7b5e5bf39ee2e (diff) | |
download | cpython-66d53fa9ad846a401292eec622a6a98983bed578.zip cpython-66d53fa9ad846a401292eec622a6a98983bed578.tar.gz cpython-66d53fa9ad846a401292eec622a6a98983bed578.tar.bz2 |
Issue #16986: ElementTree now correctly parses a string input not only when
an internal XML encoding is UTF-8 or US-ASCII.
Diffstat (limited to 'Include/pyexpat.h')
-rw-r--r-- | Include/pyexpat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyexpat.h b/Include/pyexpat.h index 168b5b2..8a79974 100644 --- a/Include/pyexpat.h +++ b/Include/pyexpat.h @@ -45,6 +45,7 @@ struct PyExpat_CAPI void (*SetUserData)(XML_Parser parser, void *userData); void (*SetStartDoctypeDeclHandler)(XML_Parser parser, XML_StartDoctypeDeclHandler start); + enum XML_Status (*SetEncoding)(XML_Parser parser, const XML_Char *encoding); /* always add new stuff to the end! */ }; |