Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4743717

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent 088ae42 commit 4743717

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

howto/clinic.po

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,8 @@ msgid ""
744744
"Let's reiterate, just because it's kind of weird. Your code should now look "
745745
"like this::"
746746
msgstr ""
747+
"少々奇妙なコードなので、もう一度やってみましょう。あなたのコードは今や以下の"
748+
"ようになっているはずです::"
747749

748750
#: ../../howto/clinic.rst:477
749751
msgid ""
@@ -764,13 +766,22 @@ msgid ""
764766
"builtin is a class method, this will probably be below but relatively near "
765767
"to the implementation.)"
766768
msgstr ""
769+
"この関数の :c:type:`PyMethodDef` 構造体を含むマクロについて思い出して下さい。"
770+
"この関数の既存の :c:type:`PyMethodDef` 構造体を探して、それをマクロへの参照に"
771+
"置き換えて下さい。 (ビルトインがモジュール・スコープにある場合、既存の :c:"
772+
"type:`PyMethodDef` 構造体はおそらくファイルの終わり近くにあります。ビルトイン"
773+
"がクラス・メソッドの場合、既存の :c:type:`PyMethodDef` 構造体はおそらく実装の"
774+
"後ろにありますが、比較的実装に近いです。)"
767775

768776
#: ../../howto/clinic.rst:529
769777
msgid ""
770778
"Note that the body of the macro contains a trailing comma. So when you "
771779
"replace the existing static :c:type:`PyMethodDef` structure with the macro, "
772780
"*don't* add a comma to the end."
773781
msgstr ""
782+
"マクロの本体には末尾にカンマ(comma)が含まれていることに注意してください。した"
783+
"がって、既存の static :c:type:`PyMethodDef` 構造体をマクロに置き換える場合"
784+
"は、末尾にカンマ(comma)を追加しないでください。"
774785

775786
#: ../../howto/clinic.rst:542
776787
msgid ""

library/xml.etree.elementtree.po

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,8 @@ msgid ""
939939
"The :func:`tostringlist` function now preserves the attribute order "
940940
"specified by the user."
941941
msgstr ""
942+
":func:`tostringlist` 関数はユーザーが指定した属性の順序を保持するようになりま"
943+
"した。"
942944

943945
#: ../../library/xml.etree.elementtree.rst:720
944946
msgid ""
@@ -1465,6 +1467,8 @@ msgid ""
14651467
"The :meth:`write` method now preserves the attribute order specified by the "
14661468
"user."
14671469
msgstr ""
1470+
":meth:`write` メソッドはユーザーが指定した属性の順序を保持するようになりまし"
1471+
"た。 "
14681472

14691473
#: ../../library/xml.etree.elementtree.rst:1171
14701474
msgid "This is the XML file that is going to be manipulated::"
@@ -1509,6 +1513,10 @@ msgid ""
15091513
"structure. You can use this class to build an element structure using a "
15101514
"custom XML parser, or a parser for some other XML-like format."
15111515
msgstr ""
1516+
"汎用の要素構造ビルダー。これは start, data, end, comment, pi のメソッド呼び出"
1517+
"しの列を整形式の要素構造に変換します。このクラスを使うと、好みの XML 構文解析"
1518+
"器、または他の XML に似た形式の構文解析器を使って、要素構造を作り出すことがで"
1519+
"きます。"
15121520

15131521
#: ../../library/xml.etree.elementtree.rst:1230
15141522
msgid ""
@@ -1663,6 +1671,13 @@ msgid ""
16631671
"building a tree structure. This is an example of counting the maximum depth "
16641672
"of an XML file::"
16651673
msgstr ""
1674+
":meth:`XMLParser.feed` は *target* の ``start(tag, attrs_dict)`` メソッドをそ"
1675+
"れぞれの開始タグに対して呼び、また ``end(tag)`` メソッドを終了タグに対して呼"
1676+
"び、そしてデータを ``data(data)`` メソッドで処理します。サポートされているそ"
1677+
"の他のコールバックメソッドについては、 :class:`TreeBuilder` クラスを参照して"
1678+
"ください。:meth:`XMLParser.close` は *target* の ``close()`` メソッドを呼びま"
1679+
"す。 :class:`XMLParser` は木構造を構築する以外にも使えます。以下の例では、"
1680+
"XML ファイルの最高の深さを数えます。"
16661681

16671682
#: ../../library/xml.etree.elementtree.rst:1399
16681683
msgid "XMLPullParser Objects"

0 commit comments

Comments
 (0)