[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-14465: Add an indent() function to xml.etree.ElementTree to pretty-print XML trees by scoder · Pull Request #15200 · python/cpython

the-knights-who-say-ni

…y-print XML trees.

…ead of a dict.

Assuming that the initial indentation is anything reasonable, this will not increase the memory usage much, but visibly speeds up the lookups.

…has either a) a non-empty non-whitespace tail or b) a whitespace tail that we just set, i.e. it is never None nor an empty string.

scoder deleted the bpo-14465_etree_indent branch

August 23, 2019 14:44

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request

Jul 20, 2020