66# Translators:
77# tomo, 2021
88# Osamu NAKAMURA, 2021
9+ # Arihiro TAKASE, 2023
910#
1011#, fuzzy
1112msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415"Report-Msgid-Bugs-To : \n "
1516"POT-Creation-Date : 2023-04-07 14:12+0000\n "
1617"PO-Revision-Date : 2021-06-28 01:19+0000\n "
17- "Last-Translator : Osamu NAKAMURA, 2021 \n "
18+ "Last-Translator : Arihiro TAKASE, 2023 \n "
1819"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
1920"ja/)\n "
2021"MIME-Version : 1.0\n "
@@ -87,23 +88,23 @@ msgstr ""
8788
8889#: ../../reference/executionmodel.rst:59
8990msgid "The following constructs bind names:"
90- msgstr ""
91+ msgstr "以下の構文が名前を束縛します: "
9192
9293#: ../../reference/executionmodel.rst:61
9394msgid "formal parameters to functions,"
9495msgstr ""
9596
9697#: ../../reference/executionmodel.rst:62
9798msgid "class definitions,"
98- msgstr ""
99+ msgstr "クラス定義, "
99100
100101#: ../../reference/executionmodel.rst:63
101102msgid "function definitions,"
102- msgstr ""
103+ msgstr "関数定義, "
103104
104105#: ../../reference/executionmodel.rst:64
105106msgid "assignment expressions,"
106- msgstr ""
107+ msgstr "代入式, "
107108
108109#: ../../reference/executionmodel.rst:65
109110msgid ""
@@ -128,7 +129,7 @@ msgstr ""
128129
129130#: ../../reference/executionmodel.rst:73
130131msgid ":keyword:`import` statements."
131- msgstr ""
132+ msgstr ":keyword:`import` 文. "
132133
133134#: ../../reference/executionmodel.rst:75
134135msgid ""
@@ -234,6 +235,13 @@ msgid ""
234235"the block for name binding operations. See :ref:`the FAQ entry on "
235236"UnboundLocalError <faq-unboundlocalerror>` for examples."
236237msgstr ""
238+ "ある名前がコードブロック内のどこかで束縛操作されていたら、そのブロック内で使"
239+ "われるその名前はすべて、現在のブロックへの参照として扱われます。このため、あ"
240+ "る名前がそのブロック内で束縛される前に使われるとエラーにつながります。この規"
241+ "則は敏感です。Python には宣言がなく、コードブロックのどこでも名前束縛操作がで"
242+ "きます。あるコードブロックにおけるローカル変数は、ブロックのテキスト全体から"
243+ "名前束縛操作を走査することで決定されます。例は :ref:`UnboundLocalError につい"
244+ "ての FAQ 項目 <faq-unboundlocalerror>` を参照してください。"
237245
238246#: ../../reference/executionmodel.rst:134
239247msgid ""
@@ -246,6 +254,17 @@ msgid ""
246254"found there, the builtins namespace is searched. The :keyword:`!global` "
247255"statement must precede all uses of the listed names."
248256msgstr ""
257+ ":keyword:`global` 文がブロック内にあると、その文で指定された名前は常にトップ"
258+ "レベルの名前空間で束縛された名前を参照します。\n"
259+ "それらの名前は、トップレベルの名前空間で解決されます。\n"
260+ "このために、グローバル名前空間、すなわちそのコードブロックを含むモジュールの"
261+ "名前空間と、組み込み名前空間、すなわちモジュール :mod:`builtins` の名前空間が"
262+ "検索されます。\n"
263+ "最初にグローバル名前空間が検索されます。\n"
264+ "名前がグローバル名前空間中に見つからなければ、組み込み名前空間が検索されま"
265+ "す。\n"
266+ ":keyword:`!global` 文は、記載された名前が最初に使われる前に記述されていなけれ"
267+ "ばなりません。"
249268
250269#: ../../reference/executionmodel.rst:143
251270msgid ""
@@ -432,6 +451,11 @@ msgid ""
432451"class>` thereof. The instance can be received by the handler and can carry "
433452"additional information about the exceptional condition."
434453msgstr ""
454+ "例外は、クラスインスタンスによって識別されます。 :keyword:`except` 節はインス"
455+ "タンスのクラスにもとづいて選択されます: これはインスタンスのクラスか、その :"
456+ "term:`非仮想基底クラス <abstract base class>` を参照します。このインスタンス"
457+ "はハンドラによって受け取られ、例外条件に関する追加情報を伝えることができま"
458+ "す。"
435459
436460#: ../../reference/executionmodel.rst:270
437461msgid ""
0 commit comments