File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 91.12 %" , "updated_at" : " 2023-09-22T01:19:35Z " }
1+ {"translation" : " 91.13 %" , "updated_at" : " 2023-09-22T02:06:05Z " }
Original file line number Diff line number Diff line change @@ -1813,26 +1813,32 @@ msgid ""
18131813"frame are restored to their current state, and control is transferred to the"
18141814" exception handler at ``target``."
18151815msgstr ""
1816+ "与 ``SETUP_FINALLY`` 类似,但在出现异常的情况下也会将最后一条指令 (``lasti``) 推入栈以便 ``RERAISE`` "
1817+ "能恢复它。 如果出现异常,栈级别值和帧上的最后一条指令将恢复为其当前状态,控制权将转移到 ``target`` 上的异常处理句柄。"
18161818
18171819#: ../../library/dis.rst:1631
18181820msgid ""
18191821"Like ``SETUP_CLEANUP``, but in case of an exception one more item is popped "
18201822"from the stack before control is transferred to the exception handler at "
18211823"``target``."
18221824msgstr ""
1825+ "与 ``SETUP_CLEANUP`` 类似,但在出现异常的情况下会从栈中再弹出一项然后将控制权转移到 ``target`` 上的异常处理句柄。"
18231826
18241827#: ../../library/dis.rst:1635
18251828msgid ""
18261829"This variant is used in :keyword:`with` and :keyword:`async with` "
18271830"constructs, which push the return value of the context manager's "
18281831":meth:`~object.__enter__` or :meth:`~object.__aenter__` to the stack."
18291832msgstr ""
1833+ "该变体形式用于 :keyword:`with` 和 :keyword:`async with` 结构,它们会将上下文管理器的 "
1834+ ":meth:`~object.__enter__` 或 :meth:`~object.__aenter__` 的返回值推入栈。"
18301835
18311836#: ../../library/dis.rst:1642
18321837msgid ""
18331838"Marks the end of the code block associated with the last ``SETUP_FINALLY``, "
18341839"``SETUP_CLEANUP`` or ``SETUP_WITH``."
18351840msgstr ""
1841+ "标记与最后一个 ``SETUP_FINALLY``、``SETUP_CLEANUP`` 或 ``SETUP_WITH`` 相关联的代码块的结束。"
18361842
18371843#: ../../library/dis.rst:1648
18381844msgid ""
You can’t perform that action at this time.
0 commit comments