@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.9\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2021-02-20 05:29 +0000\n "
16+ "POT-Creation-Date : 2021-07-29 07:05 +0000\n "
1717"PO-Revision-Date : 2017-02-16 23:06+0000\n "
1818"
Last-Translator :
Freesand Leo <[email protected] >, 2021\n "
1919"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -778,18 +778,18 @@ msgstr ""
778778msgid ""
779779"This opcode performs several operations before a with block starts. First, "
780780"it loads :meth:`~object.__exit__` from the context manager and pushes it "
781- "onto the stack for later use by :opcode:`WITH_CLEANUP_START `. Then, "
781+ "onto the stack for later use by :opcode:`WITH_EXCEPT_START `. Then, "
782782":meth:`~object.__enter__` is called, and a finally block pointing to *delta*"
783783" is pushed. Finally, the result of calling the ``__enter__()`` method is "
784784"pushed onto the stack. The next opcode will either ignore it "
785785"(:opcode:`POP_TOP`), or store it in (a) variable(s) (:opcode:`STORE_FAST`, "
786786":opcode:`STORE_NAME`, or :opcode:`UNPACK_SEQUENCE`)."
787787msgstr ""
788- "此操作码在 with 块开始之前执行多个操作。 首先,它从上下文管理器加载 :meth:`~object.__exit__` 并将其推入到堆栈以供以后被 "
789- ":opcode:`WITH_CLEANUP_START` 使用。 然后,调用 :meth:`~object .__enter__` ,并推入指向 "
790- "*delta* 的 finally 块。 最后,调用 ``__enter__()`` 方法的结果被压入堆栈。一个操作码将忽略它( "
791- ":opcode:`POP_TOP` ) ,或将其存储在一个或多个变量( :opcode:`STORE_FAST` 、 "
792- ":opcode:`STORE_NAME` 或 :opcode:`UNPACK_SEQUENCE` ) 中。"
788+ "此操作码会在 with 代码块开始之前执行多个操作。 首先,它从上下文管理器加载 :meth:`~object.__exit__` 并将其推入栈顶以供 "
789+ ":opcode:`WITH_EXCEPT_START` 后续使用。 然后,调用 :meth:`~object.__enter__`,并推入一个指向 "
790+ "*delta* 的 finally 代码块。 最后,将调用 ``__enter__()`` 方法的结果推入栈顶。 下一个操作码将忽略它 "
791+ "( :opcode:`POP_TOP`) ,或将其存储在一个或多个变量 ( :opcode:`STORE_FAST`, "
792+ ":opcode:`STORE_NAME` 或 :opcode:`UNPACK_SEQUENCE`) 中。"
793793
794794#: ../../library/dis.rst:754
795795msgid "All of the following opcodes use their arguments."
0 commit comments