summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-05-22 14:21:06 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-05-22 14:21:06 (GMT)
commit447b6e3c6ece7db5eb056311b473285366f6cadb (patch)
tree7b06654559cee8c33ea5bfb4db2bb3a69d1aaefe /Include
parent43e145b6a47a85ed06e0e719238f3fc0e3fd9eef (diff)
parent66d53fa9ad846a401292eec622a6a98983bed578 (diff)
downloadcpython-447b6e3c6ece7db5eb056311b473285366f6cadb.zip
cpython-447b6e3c6ece7db5eb056311b473285366f6cadb.tar.gz
cpython-447b6e3c6ece7db5eb056311b473285366f6cadb.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')
-rw-r--r--Include/pyexpat.h1
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! */
};