File tree Expand file tree Collapse file tree 3 files changed +2990
-2980
lines changed
Expand file tree Collapse file tree 3 files changed +2990
-2980
lines changed Original file line number Diff line number Diff line change @@ -576,6 +576,10 @@ msgid ""
576576"then the *flags* argument is it -- the future statements in effect around "
577577"the call to compile are ignored."
578578msgstr ""
579+ "オプション引数 *flags* および *dont_inherit* は、 *source* のコンパイルにどの :ref:`future statements <future>` を作用させるかを制御します。\n"
580+ "どちらも与えられていない (または両方ともゼロ) ならば、 :func:`compile` を呼び出している側のコードで有効な future 文とともにコードをコンパイルします。\n"
581+ "*flags* 引数が与えられていて *dont_inherit* は与えられていない (またはゼロ) 場合は、それに加えて *flags* に指定された future 文が使われます。\n"
582+ "*dont_inherit* がゼロでない整数の場合、 *flags* 引数がそのまま使われ、 compile を呼び出している側で有効な future 文は無視されます。"
579583
580584#: ../../library/functions.rst:239
581585msgid ""
@@ -633,6 +637,8 @@ msgid ""
633637"large/complex string when compiling to an AST object due to stack depth "
634638"limitations in Python's AST compiler."
635639msgstr ""
640+ "AST オブジェクトにコンパイルしているときに、十分に大きい文字列や複雑な文字列によって Python "
641+ "の抽象構文木コンパイラのスタックが深さの限界を越えることで、 Python インタプリタをクラッシュさせられます。"
636642
637643#: ../../library/functions.rst:269
638644msgid ""
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ msgstr ""
356356
357357#: ../../reference/expressions.rst:304
358358msgid "Unpacking into dictionary displays, originally proposed by :pep:`448`."
359- msgstr ""
359+ msgstr "辞書表示のアンパッキングは最初に :pep:`448` で提案されました。 "
360360
361361#: ../../reference/expressions.rst:307
362362msgid ""
@@ -442,6 +442,9 @@ msgid ""
442442":keyword:`async def` function's body causes that coroutine function to be an"
443443" asynchronous generator. For example::"
444444msgstr ""
445+ "yield 式は :term:`ジェネレータ <generator>` 関数や term:`非同期ジェネレータ <asynchronous generator>` を定義するときに使われます。従って、関数定義の本体でのみ使えます。\n"
446+ "関数の本体で yield 式 を使用するとその関数はジェネレータになり、 :keyword:`async def` 関数の本体で使用するとそのコルーチン関数は非同期ジェネレータになります。\n"
447+ "例えば次のようになります::"
445448
446449#: ../../reference/expressions.rst:390
447450msgid ""
You can’t perform that action at this time.
0 commit comments