mirror of
https://github.com/python/cpython.git
synced 2025-11-08 17:41:42 +00:00
Suppress writing an XML declaration in open files in ElementTree.write() with encoding='unicode' and xml_declaration=None. If file patch is passed to ElementTree.write() with encoding='unicode', always open a new file in UTF-8. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cElementTree.py | ||
| ElementInclude.py | ||
| ElementPath.py | ||
| ElementTree.py | ||