Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde6f97c

Browse files
Fix typos in ElementTree documentation (GH-108848)
PI objects instead of comment objects.
1 parente6d6d5d commitde6f97c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎Doc/library/xml.etree.elementtree.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ Functions
664664
given. Returns an element instance, representing a processing instruction.
665665

666666
Note that:class:`XMLParser` skips over processing instructions
667-
in the input instead of creatingcomment objects for them. An
667+
in the input instead of creatingPI objects for them. An
668668
:class:`ElementTree` will only contain processing instruction nodes if
669669
they have been inserted into to the tree using one of the
670670
:class:`Element` methods.
@@ -1302,8 +1302,8 @@ TreeBuilder Objects
13021302

13031303
..method::pi(target, text)
13041304

1305-
Creates acommentwith the given *target* name and *text*. If
1306-
``insert_pis`` is true, this will also add it to the tree.
1305+
Creates aprocess instructionwith the given *target* name and *text*.
1306+
If``insert_pis`` is true, this will also add it to the tree.
13071307

13081308
..versionadded::3.8
13091309

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp