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

Skip to content

Commit 6b4abdc

Browse files
[po] auto sync
1 parent 838d804 commit 6b4abdc

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tutorial/errors.po

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ msgid ""
193193
"would have printed B, B, B --- the first matching except clause is "
194194
"triggered."
195195
msgstr ""
196-
"请注意如果 except 子句被颠倒(把 ``except B`` 放到第一个),它将打印 B,B,B --- 即第一个匹配的 except "
196+
"请注意如果 except 子句被颠倒(把 ``except B`` 放到第一个),它将打印 B,B,B --- 即第一个匹配的 except "
197197
"子句被触发。"
198198

199199
#: ../../tutorial/errors.rst:150
@@ -215,7 +215,7 @@ msgid ""
215215
"exception. For example::"
216216
msgstr ""
217217
":keyword:`try` ... :keyword:`except` 语句有一个可选的 *else 子句*,在使用时必须放在所有的 except "
218-
"子句后面。对于在try 子句不引发异常时必须执行的代码来说很有用。例如::"
218+
"子句后面。对于在 try 子句不引发异常时必须执行的代码来说很有用。 例如::"
219219

220220
#: ../../tutorial/errors.rst:183
221221
msgid ""
@@ -312,7 +312,8 @@ msgid ""
312312
"module, and subclass that to create specific exception classes for different"
313313
" error conditions::"
314314
msgstr ""
315-
"可以定义异常类,它可以执行任何其他类可以执行的任何操作,但通常保持简单,通常只提供许多属性,这些属性允许处理程序为异常提取有关错误的信息。在创建可能引发多个不同错误的模块时,通常的做法是为该模块定义的异常创建基类,并为不同错误条件创建特定异常类的子类::"
315+
"可以定义异常类,它可以执行任何其他类可以执行的任何操作,但通常保持简单,只提供一些属性,这些属性允许处理程序为异常提取有关错误的信息。 "
316+
"在创建可能引发多个不同错误的模块时,通常的做法是为该模块定义的异常创建基类,并为不同错误条件创建特定异常类的子类::"
316317

317318
#: ../../tutorial/errors.rst:317
318319
msgid ""
@@ -428,7 +429,8 @@ msgid ""
428429
" the object succeeded or failed. Look at the following example, which tries "
429430
"to open a file and print its contents to the screen. ::"
430431
msgstr ""
431-
"某些对象定义了在不再需要该对象时要执行的标准清理操作,无论使用该对象的操作是成功还是失败。请查看下面的示例,它尝试打开一个文件并把其内容打印到屏幕上。::"
432+
"某些对象定义了在不再需要该对象时要执行的标准清理操作,无论使用该对象的操作是成功还是失败,清理操作都会被执行。 "
433+
"请查看下面的示例,它尝试打开一个文件并把其内容打印到屏幕上。::"
432434

433435
#: ../../tutorial/errors.rst:431
434436
msgid ""

0 commit comments

Comments
 (0)