@@ -452,6 +452,8 @@ msgid ""
452
452
"functions are described separately in section :ref:`asynchronous-generator-"
453
453
"functions`."
454
454
msgstr ""
455
+ "ジェネレータ関数についてはすぐ下で説明されています。非同期ジェネレータ関数は、 :ref:`asynchronous-generator-"
456
+ "functions` 節に分けて説明されています。"
455
457
456
458
#: ../../reference/expressions.rst:394
457
459
msgid ""
@@ -582,7 +584,7 @@ msgstr ":pep:`525` - 非同期ジェネレータ"
582
584
msgid ""
583
585
"The proposal that expanded on :pep:`492` by adding generator capabilities to"
584
586
" coroutine functions."
585
- msgstr ""
587
+ msgstr "コルーチン関数へのジェネレータの実装能力の追加による :pep:`492` の拡張提案。 "
586
588
587
589
#: ../../reference/expressions.rst:470
588
590
msgid "Generator-iterator methods"
@@ -663,6 +665,10 @@ msgid ""
663
665
" it is propagated to the caller. :meth:`close` does nothing if the "
664
666
"generator has already exited due to an exception or normal exit."
665
667
msgstr ""
668
+ "ジェネレータ関数が一時停止した時点で :exc:`GeneratorExit` を発生させます。\n"
669
+ "そして、ジェネレータ関数が無事に終了するか、既にクローズされているか、(例外が捕捉されなかったために) :exc:`GeneratorExit` が送出された場合、 close は呼び出し元へ戻ります。\n"
670
+ "ジェネレータが値を生成する場合 :exc:`RuntimeError` が発生します。\n"
671
+ ":meth:`close` はジェネレータが例外や正常な終了により既に終了している場合は何もしません。"
666
672
667
673
#: ../../reference/expressions.rst:531
668
674
msgid "Examples"
@@ -690,7 +696,7 @@ msgid ""
690
696
"The presence of a yield expression in a function or method defined using "
691
697
":keyword:`async def` further defines the function as a :term:`asynchronous "
692
698
"generator` function."
693
- msgstr ""
699
+ msgstr "yeild 式が、 :keyword:`async def` を使用して定義された関数やメソッド "
694
700
695
701
#: ../../reference/expressions.rst:572
696
702
msgid ""
@@ -897,7 +903,7 @@ msgstr ""
897
903
msgid ""
898
904
"If the primary is a sequence, the expression list must evaluate to an "
899
905
"integer or a slice (as discussed in the following section)."
900
- msgstr ""
906
+ msgstr "プライマリがシーケンスであれば、式リストの評価結果は整数またはスライス (以下の節で論じます) でなければなりません。 "
901
907
902
908
#: ../../reference/expressions.rst:772
903
909
msgid ""
@@ -1081,13 +1087,18 @@ msgid ""
1081
1087
"this is equivalent to a call with M+4 positional arguments *x1*, *x2*, *y1*,"
1082
1088
" ..., *yM*, *x3*, *x4*."
1083
1089
msgstr ""
1090
+ "関数呼び出しに ``*expression`` という構文が現れる場合は、 ``expression`` の評価結果は :term:`イテラブル <iterable>` でなければなりません。\n"
1091
+ "そのイテラブルの要素は、追加の位置引数であるかのように扱われます。\n"
1092
+ "``f(x1, x2, *y, x3, x4)`` という呼び出しにおいて、 *y* の評価結果がシーケンス *y1*, ..., *yM* だった場合は、この呼び出しは M+4 個の位置引数 *x1*, *x2*, *y1*, ..., *yM*, *x3*, *x4* での呼び出しと同じになります。"
1084
1093
1085
1094
#: ../../reference/expressions.rst:938
1086
1095
msgid ""
1087
1096
"A consequence of this is that although the ``*expression`` syntax may appear"
1088
1097
" *after* explicit keyword arguments, it is processed *before* the keyword "
1089
1098
"arguments (and any ``**expression`` arguments -- see below). So::"
1090
1099
msgstr ""
1100
+ "この結論としては、 ``*expression`` 構文がキーワード引数の *後ろ* に来ることもありますが、キーワード引数 (と任意の ``**expression`` 引数 -- 下を参照) よりも *前* にあるものとして処理されます。\n"
1101
+ "従って、このような動作になります::"
1091
1102
1092
1103
#: ../../reference/expressions.rst:954
1093
1104
msgid ""