88# Meng Du <[email protected] >, 2019991010# Freesand Leo <[email protected] >, 202011- # Heyi Tang <[email protected] >, 20201211# zeroswan <[email protected] >, 202012+ # Heyi Tang <[email protected] >, 20201313#
1414#, fuzzy
1515msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818"Report-Msgid-Bugs-To : \n "
1919"POT-Creation-Date : 2020-05-31 09:25+0000\n "
2020"PO-Revision-Date : 2017-02-16 23:04+0000\n "
21- "Last-Translator : zeroswan <weditor@163 .com>, 2020\n "
21+ "Last-Translator : Heyi Tang <tangheyi.09@gmail .com>, 2020\n "
2222"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2323"MIME-Version : 1.0\n "
2424"Content-Type : text/plain; charset=UTF-8\n "
@@ -182,11 +182,11 @@ msgstr "一个简单的示例:"
182182msgid ""
183183"Return a context manager that closes *thing* upon completion of the block. "
184184"This is basically equivalent to::"
185- msgstr "返回一个在语句块执行完成时关闭 *things* 的上下文管理器。这基本上等价于 ::"
185+ msgstr "返回一个在语句块执行完成时关闭 *things* 的上下文管理器。这基本上等价于: ::"
186186
187187#: ../../library/contextlib.rst:144
188188msgid "And lets you write code like this::"
189- msgstr "并允许你编写这样的代码 ::"
189+ msgstr "并允许你编写这样的代码: ::"
190190
191191#: ../../library/contextlib.rst:153
192192msgid ""
@@ -202,17 +202,21 @@ msgid ""
202202" otherwise does nothing. It is intended to be used as a stand-in for an "
203203"optional context manager, for example::"
204204msgstr ""
205+ "返回一个从 ``__enter__`` 返回 *enter_result* "
206+ "的上下文管理器,除此之外不执行任何操作。它旨在用于可选上下文管理器的一种替代,例如:::"
205207
206208#: ../../library/contextlib.rst:175
207209msgid "An example using *enter_result*::"
208- msgstr ""
210+ msgstr "一个使用 *enter_result* 的例子: "
209211
210212#: ../../library/contextlib.rst:193
211213msgid ""
212214"Return a context manager that suppresses any of the specified exceptions if "
213215"they occur in the body of a with statement and then resumes execution with "
214216"the first statement following the end of the with statement."
215217msgstr ""
218+ "返回一个上下文管理器,如果任何一个指定的异常发生在使用该上下文管理器的 with 语句中,该异常将被它抑制,然后程序将从 with "
219+ "语句结束后的第一个语句开始恢复执行。"
216220
217221#: ../../library/contextlib.rst:197
218222msgid ""
0 commit comments