Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Doc/library/xml.etree.elementtree.rst
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,9 @@ Functions
blocking reads on *source* (or the file it names). As such, it's unsuitable
for applications where blocking reads can't be made. For fully non-blocking
parsing, see :class:`XMLPullParser`.

Once *source* is fully read, the returned :term:`iterator` object is populated with a ``root``
attribute which references to the root element of the resulting XML tree.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a root attribute reads a bit better, and for formatting iirc sphinx needs to be surrounded by two grave symbols instead of just one

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!


.. note::

Expand Down