| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 85fad7e commit c7cad23
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -752,6 +752,8 @@ msgid "" | |||
| 752 | 752 | "Let's reiterate, just because it's kind of weird. Your code should now look " | |
| 753 | 753 | "like this::" | |
| 754 | 754 | msgstr "" | |
| 755 | + "少々奇妙なコードなので、もう一度やってみましょう。あなたのコードは今や以下の" | ||
| 756 | + "ようになっているはずです::" | ||
| 755 | 757 | ||
| 756 | 758 | #: ../../howto/clinic.rst:477 | |
| 757 | 759 | msgid "" | |
@@ -772,13 +774,22 @@ msgid "" | |||
| 772 | 774 | "builtin is a class method, this will probably be below but relatively near " | |
| 773 | 775 | "to the implementation.)" | |
| 774 | 776 | msgstr "" | |
| 777 | + "この関数の :c:type:`PyMethodDef` 構造体を含むマクロについて思い出して下さい。" | ||
| 778 | + "この関数の既存の :c:type:`PyMethodDef` 構造体を探して、それをマクロへの参照に" | ||
| 779 | + "置き換えて下さい。 (ビルトインがモジュール・スコープにある場合、既存の :c:" | ||
| 780 | + "type:`PyMethodDef` 構造体はおそらくファイルの終わり近くにあります。ビルトイン" | ||
| 781 | + "がクラス・メソッドの場合、既存の :c:type:`PyMethodDef` 構造体はおそらく実装の" | ||
| 782 | + "後ろにありますが、比較的実装に近いです。)" | ||
| 775 | 783 | ||
| 776 | 784 | #: ../../howto/clinic.rst:529 | |
| 777 | 785 | msgid "" | |
| 778 | 786 | "Note that the body of the macro contains a trailing comma. So when you " | |
| 779 | 787 | "replace the existing static :c:type:`PyMethodDef` structure with the macro, " | |
| 780 | 788 | "*don't* add a comma to the end." | |
| 781 | 789 | msgstr "" | |
| 790 | + "マクロの本体には末尾にカンマ(comma)が含まれていることに注意してください。した" | ||
| 791 | + "がって、既存の static :c:type:`PyMethodDef` 構造体をマクロに置き換える場合" | ||
| 792 | + "は、末尾にカンマ(comma)を追加しないでください。" | ||
| 782 | 793 | ||
| 783 | 794 | #: ../../howto/clinic.rst:542 | |
| 784 | 795 | msgid "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -956,6 +956,8 @@ msgid "" | |||
| 956 | 956 | "The :func:`tostringlist` function now preserves the attribute order " | |
| 957 | 957 | "specified by the user." | |
| 958 | 958 | msgstr "" | |
| 959 | + ":func:`tostringlist` 関数はユーザーが指定した属性の順序を保持するようになりま" | ||
| 960 | + "した。" | ||
| 959 | 961 | ||
| 960 | 962 | #: ../../library/xml.etree.elementtree.rst:734 | |
| 961 | 963 | msgid "" | |
@@ -1481,6 +1483,8 @@ msgid "" | |||
| 1481 | 1483 | "The :meth:`write` method now preserves the attribute order specified by the " | |
| 1482 | 1484 | "user." | |
| 1483 | 1485 | msgstr "" | |
| 1486 | + ":meth:`write` メソッドはユーザーが指定した属性の順序を保持するようになりまし" | ||
| 1487 | + "た。 " | ||
| 1484 | 1488 | ||
| 1485 | 1489 | #: ../../library/xml.etree.elementtree.rst:1176 | |
| 1486 | 1490 | msgid "This is the XML file that is going to be manipulated::" | |
@@ -1525,6 +1529,10 @@ msgid "" | |||
| 1525 | 1529 | "structure. You can use this class to build an element structure using a " | |
| 1526 | 1530 | "custom XML parser, or a parser for some other XML-like format." | |
| 1527 | 1531 | msgstr "" | |
| 1532 | + "汎用の要素構造ビルダー。これは start, data, end, comment, pi のメソッド呼び出" | ||
| 1533 | + "しの列を整形式の要素構造に変換します。このクラスを使うと、好みの XML 構文解析" | ||
| 1534 | + "器、または他の XML に似た形式の構文解析器を使って、要素構造を作り出すことがで" | ||
| 1535 | + "きます。" | ||
| 1528 | 1536 | ||
| 1529 | 1537 | #: ../../library/xml.etree.elementtree.rst:1235 | |
| 1530 | 1538 | msgid "" | |
@@ -1679,6 +1687,13 @@ msgid "" | |||
| 1679 | 1687 | "building a tree structure. This is an example of counting the maximum depth " | |
| 1680 | 1688 | "of an XML file::" | |
| 1681 | 1689 | 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 ファイルの最高の深さを数えます。" | ||
| 1682 | 1697 | ||
| 1683 | 1698 | #: ../../library/xml.etree.elementtree.rst:1404 | |
| 1684 | 1699 | msgid "XMLPullParser Objects" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments