Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4a69abf

Browse files
[po] auto sync
1 parent 866957b commit 4a69abf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

library/contextlib.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,8 @@ msgid ""
580580
" By using :class:`ExitStack` the steps in the context management protocol "
581581
"can be separated slightly in order to allow this::"
582582
msgstr ""
583+
"有时人们会想要从 ``__enter__`` 方法的实现中捕获异常,而 *不会* 无意中捕获来自 :keyword:`with` 语句体或上下文管理器的"
584+
" ``__exit__`` 方法的异常。 通过使用 :class:`ExitStack` 可以将上下文管理协议中的步骤稍微分开以允许这样做::"
583585

584586
#: ../../library/contextlib.rst:545
585587
msgid ""

0 commit comments

Comments
 (0)