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

Skip to content

Commit c7cad23

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent 85fad7e commit c7cad23

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
@@ -752,6 +752,8 @@ msgid ""
752752
"Let's reiterate, just because it's kind of weird. Your code should now look "
753753
"like this::"
754754
msgstr ""
755+
"少々奇妙なコードなので、もう一度やってみましょう。あなたのコードは今や以下の"
756+
"ようになっているはずです::"
755757

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

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

783794
#: ../../howto/clinic.rst:542
784795
msgid ""

library/xml.etree.elementtree.po

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

960962
#: ../../library/xml.etree.elementtree.rst:734
961963
msgid ""
@@ -1481,6 +1483,8 @@ msgid ""
14811483
"The :meth:`write` method now preserves the attribute order specified by the "
14821484
"user."
14831485
msgstr ""
1486+
":meth:`write` メソッドはユーザーが指定した属性の順序を保持するようになりまし"
1487+
"た。 "
14841488

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

15291537
#: ../../library/xml.etree.elementtree.rst:1235
15301538
msgid ""
@@ -1679,6 +1687,13 @@ msgid ""
16791687
"building a tree structure. This is an example of counting the maximum depth "
16801688
"of an XML file::"
16811689
msgstr ""
1690+
":meth:`XMLParser.feed` は *target* の ``start(tag, attrs_dict)`` メソッドをそ"
1691+
"れぞれの開始タグに対して呼び、また ``end(tag)`` メソッドを終了タグに対して呼"
1692+
"び、そしてデータを ``data(data)`` メソッドで処理します。サポートされているそ"
1693+
"の他のコールバックメソッドについては、 :class:`TreeBuilder` クラスを参照して"
1694+
"ください。:meth:`XMLParser.close` は *target* の ``close()`` メソッドを呼びま"
1695+
"す。 :class:`XMLParser` は木構造を構築する以外にも使えます。以下の例では、"
1696+
"XML ファイルの最高の深さを数えます。"
16821697

16831698
#: ../../library/xml.etree.elementtree.rst:1404
16841699
msgid "XMLPullParser Objects"

0 commit comments

Comments
 (0)