diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-11 17:39:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 17:39:21 (GMT) |
commit | 4730b0d6f3e6a6bc04de980c071a07adab41a1c9 (patch) | |
tree | 821037a9793e3adf5f6f7e082b3c54a39d0079c4 /Doc/library/bisect.rst | |
parent | 7a84ea4ec16371fd2785b48cbe305da70a9dc7fc (diff) | |
download | cpython-4730b0d6f3e6a6bc04de980c071a07adab41a1c9.zip cpython-4730b0d6f3e6a6bc04de980c071a07adab41a1c9.tar.gz cpython-4730b0d6f3e6a6bc04de980c071a07adab41a1c9.tar.bz2 |
[3.10] gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903) (GH-92664)
ElementTree method write() and function tostring() now use the text file's
encoding ("UTF-8" if not available) instead of locale encoding in XML
declaration when encoding="unicode" is specified.
(cherry picked from commit 707839b0fe02ba2c891a40f40e7a869d84c2c9c5)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Automerge-Triggered-By: GH:serhiy-storchaka
Diffstat (limited to 'Doc/library/bisect.rst')
0 files changed, 0 insertions, 0 deletions