8000 Documentation: XML Element - pi objects instead of comment objects by christopheNan · Pull Request #108848 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Documentation: XML Element - pi objects instead of comment objects #108848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 1, 2024
Merged
Changes from 1 commit
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
Next Next commit
pi objects instead of comment objects
  • Loading branch information
christopheNan committed Sep 3, 2023
commit 130df2f08fc3400993ae1fc3883cbcc98125efba
2 changes: 1 addition & 1 deletion Doc/library/xml.etree.elementtree.rst
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ Functions
given. Returns an element instance, representing a processing instruction.

Note that :class:`XMLParser` skips over processing instructions
in the input instead of creating comment objects for them. An
in the input instead of creating pi objects for them. An
Copy link
Member

Choose a reason for hiding this comment

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

Is it clear? Maybe use "processing instruction objects"?

:class:`ElementTree` will only contain processing instruction nodes if
they have been inserted into to the tree using one of the
:class:`Element` methods.
Expand Down
0