[Python-Dev] Doc suggestion for Elementtree (for 2.5? a bit late, I know...) (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Mon Aug 28 13:03:43 CEST 2006
- Previous message: [Python-Dev] Doc suggestion for Elementtree (for 2.5? a bit late, I know...)
- Next message: [Python-Dev] Doc suggestion for Elementtree (for 2.5? a bit late, I know...)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Paul Moore wrote:
One little addition to the elementtree docs. In the overview section, adding a paragraph explaining best practice for importing the module might be useful.
good idea.
PS This actually begs the question - are there platforms where xml.etree.cElementTree is not available?
not really; I usually recommend checking for
xml.etree.cElementTree
cElementTree
elementtree.ElementTree
in that order, if you just want to get the "best" implementation.
(there are some subtle differences between the C implementations and the Python implementations, so people who do non-standard stuff may want to use xml.etree.ElementTree, but I don't think that has to be mentioned in the overview)
- Previous message: [Python-Dev] Doc suggestion for Elementtree (for 2.5? a bit late, I know...)
- Next message: [Python-Dev] Doc suggestion for Elementtree (for 2.5? a bit late, I know...)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]