Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11)

#24079: xml.etree.ElementTree.Element.text does not conform to the documentation

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 8 months ago by jerome.laurens
Modified:
4 years, 7 months ago
Reviewers:
scoder, vadmium+py
CC:
rhettinger, scoder, rbcollins, ned.deily, eli.bendersky, docs_python.org, devnull_psf.upfronthosting.co.za, Martin Panter, jerome.laurens_u-bourgogne.fr
Visibility:
Public.

Patch Set 1 #

Total comments: 3

Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Doc/library/xml.etree.elementtree.rst View 1 1 chunk +12 lines, -12 lines 0 comments Download

Messages

Total messages: 2
scoder_users.sourceforge.net
https://bugs.python.org/review/24079/diff/14986/Doc/library/xml.etree.elementtree.rst File Doc/library/xml.etree.elementtree.rst (right): https://bugs.python.org/review/24079/diff/14986/Doc/library/xml.etree.elementtree.rst#newcode657 Doc/library/xml.etree.elementtree.rst:657: and the next tag. The *tail* attribute holds any ...
4 years, 8 months ago #1
Martin Panter
4 years, 7 months ago #2
https://bugs.python.org/review/24079/diff/14986/Doc/library/xml.etree.element...
File Doc/library/xml.etree.elementtree.rst (right):

https://bugs.python.org/review/24079/diff/14986/Doc/library/xml.etree.element...
Doc/library/xml.etree.elementtree.rst:657: and the next tag.  The *tail*
attribute holds any text between the
On 2015/05/30 07:35:22, scoder wrote:
> Not strictly true, e.g. "<tag />abc<next-tag/>" - is "abc" in text or tail
here?

Tail only, being equivalent to <tag></tag>abc<next-tag/>. Hopefully this is also
illustrated by the <d/> tag in Jérôme’s example.

> Also, I think the usual wording is "opening" and "closing" tag.

Actually, I’m changing it to use “start tag”, but keeping “end tag”. These terms
are used in other parts of the page, XML specifications, etc.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+