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

Skip to content

Commit 72858c0

Browse files
[po] auto sync
1 parent 508a1ca commit 72858c0

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

library/contextlib.po

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# Meng Du <[email protected]>, 2019
99
# nick <[email protected]>, 2019
1010
# Freesand Leo <[email protected]>, 2020
11-
# Heyi Tang <[email protected]>, 2020
1211
# zeroswan <[email protected]>, 2020
12+
# Heyi Tang <[email protected]>, 2020
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -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 "一个简单的示例:"
182182
msgid ""
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
188188
msgid "And lets you write code like this::"
189-
msgstr "并允许你编写这样的代码 ::"
189+
msgstr "并允许你编写这样的代码 ::"
190190

191191
#: ../../library/contextlib.rst:153
192192
msgid ""
@@ -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::"
204204
msgstr ""
205+
"返回一个从 ``__enter__`` 返回 *enter_result* "
206+
"的上下文管理器,除此之外不执行任何操作。它旨在用于可选上下文管理器的一种替代,例如:::"
205207

206208
#: ../../library/contextlib.rst:175
207209
msgid "An example using *enter_result*::"
208-
msgstr ""
210+
msgstr "一个使用 *enter_result* 的例子:"
209211

210212
#: ../../library/contextlib.rst:193
211213
msgid ""
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."
215217
msgstr ""
218+
"返回一个上下文管理器,如果任何一个指定的异常发生在使用该上下文管理器的 with 语句中,该异常将被它抑制,然后程序将从 with "
219+
"语句结束后的第一个语句开始恢复执行。"
216220

217221
#: ../../library/contextlib.rst:197
218222
msgid ""

0 commit comments

Comments
 (0)