Skip to content

Allow to customize XML declaration header when writing ElementTree output #128136

@pprossi

Description

@pprossi

Feature or enhancement

Proposal:

At the moment it is hardcoded with single quotes and differs from examples in the documentation.

write("<?xml version='1.0' encoding='%s'?>\n" % (

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-XMLtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions