list-like behaviour of etree.Element
tjreedy at udel.edu
Mon Mar 5 04:46:24 CET 2007
"Daniel Nogradi" <nogradi at gmail.com> wrote in message
news:5f56302b0703041248k1d2b3d85g1cf9954eed475c22 at mail.gmail.com...
| The etree.Element (or ElementTree.Element) supports a number of
| list-like methods: append, insert, remove. Any special reason why it
| doesn't support pop and extend (and maybe count)?
I think you should turn the question around: why should such be added?
I imagine that the author wrote the methods he and his users thought
Anything more has various costs.
More information about the Python-list