mirror of
https://github.com/python/cpython.git
synced 2026-04-14 15:50:50 +00:00
The C accelerator implementations use PyArg_ParseTuple, which inherently enforces positional-only parameters. The Python fallback allowed these as keyword arguments, creating a behavioral mismatch. Make the tag parameter of Element.__init__ and the parent and tag parameters of SubElement positional-only to align with the C accelerator. |
||
|---|---|---|
| .. | ||
| dom | ||
| etree | ||
| parsers | ||
| sax | ||
| __init__.py | ||