We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab3689 commit bf99228Copy full SHA for bf99228
reference/expressions.po
@@ -848,6 +848,9 @@ msgid ""
848
"the resulting coroutine object, thus allowing any pending "
849
":keyword:`!finally` clauses to execute."
850
msgstr ""
851
+"非同期ジェネレータ関数では、 :keyword:`try` 構造内の任意の場所で yield 式が使用できます。\n"
852
+"ただし、非同期ジェネレータが、(参照カウントがゼロに達するか、ガベージコレクションによる) 終了処理より前に再開されない場合、 :keyword:`!try` 構造内の yield 式は失敗となり、実行待ちだった :keyword:`finally` 節が実行されます。\n"
853
+"このケースでは、非同期ジェネレータが作動しているイベントループやスケジューラの責務は、非同期ジェネレータの :meth:`~agen.aclose` メソッドを呼び出し、残りのコルーチンオブジェクトを実行し、それによって実行待ちだった :keyword:`!finally` 節が実行できるようにします。"
854
855
#: ../../reference/expressions.rst:653
856
msgid ""
0 commit comments