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

Skip to content

Commit 37f17eb

Browse files
[po] auto sync
1 parent ebe987d commit 37f17eb

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

c-api/exceptions.po

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,9 @@ msgid ""
765765
"``NULL``. This creates a class object derived from :exc:`Exception` "
766766
"(accessible in C as :c:data:`PyExc_Exception`)."
767767
msgstr ""
768+
"这个工具函数会创建并返回一个新的异常类。 *name* 参数必须为新异常的名称,是 ``module.classname`` 形式的 C 字符串。 "
769+
"*base* 和 *dict* 参数通常为 ``NULL``。 这将创建一个派生自 :exc:`Exception` 的类对象(在 C 中可以通过 "
770+
":c:data:`PyExc_Exception` 访问)。"
768771

769772
#: ../../c-api/exceptions.rst:603
770773
msgid ""
@@ -775,6 +778,9 @@ msgid ""
775778
"of classes. The *dict* argument can be used to specify a dictionary of class"
776779
" variables and methods."
777780
msgstr ""
781+
"新类的 :attr:`__module__` 属性将被设为 *name* "
782+
"参数的前半部分(最后一个点号之前),而类名将被设为后半部分(最后一个点号之后)。 *base* "
783+
"参数可被用来指定替代基类;它可以是一个类或是一个由类组成的元组。 *dict* 参数可被用来指定一个由类变量和方法组成的字典。"
778784

779785
#: ../../c-api/exceptions.rst:612
780786
msgid ""
@@ -795,6 +801,8 @@ msgid ""
795801
"accessible from Python through :attr:`__traceback__`. If there is no "
796802
"traceback associated, this returns ``NULL``."
797803
msgstr ""
804+
"将与异常相关联的回溯作为一个新引用返回,可以通过 :attr:`__traceback__` 在 Python 中访问。 如果没有已关联的回溯,则返回 "
805+
"``NULL``。"
798806

799807
#: ../../c-api/exceptions.rst:631
800808
msgid ""
@@ -809,6 +817,8 @@ msgid ""
809817
"from Python through :attr:`__context__`. If there is no context associated,"
810818
" this returns ``NULL``."
811819
msgstr ""
820+
"将与异常相关联的上下文(在处理 *ex* 的过程中引发的另一个异常实例)作为一个新引用返回,可以通过 :attr:`__context__` 在 "
821+
"Python 中访问。 如果没有已关联的上下文,则返回 ``NULL``。"
812822

813823
#: ../../c-api/exceptions.rst:645
814824
msgid ""

library/asyncio-stream.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ msgstr "添加了 *ssl_handshake_timeout* 形参。"
9393

9494
#: ../../library/asyncio-stream.rst:73
9595
msgid "Added *happy_eyeballs_delay* and *interleave* parameters."
96-
msgstr "培了 *happy_eyeballs_delay* 和 *interleave* 形参。"
96+
msgstr "增加了 *happy_eyeballs_delay* 和 *interleave* 形参。"
9797

9898
#: ../../library/asyncio-stream.rst:76 ../../library/asyncio-stream.rst:109
9999
#: ../../library/asyncio-stream.rst:132 ../../library/asyncio-stream.rst:152

tutorial/controlflow.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# Woko <[email protected]>, 2021
1010
# df2dc1c92e792f7ae8417c51df43db8f_594d92a <0f49be28017426edb1db1a2ab6e67088_717605>, 2021
1111
# ppcfish <[email protected]>, 2021
12-
# Freesand Leo <[email protected]>, 2021
1312
# jaystone776 <[email protected]>, 2022
1413
# Alpha Du <[email protected]>, 2022
14+
# Freesand Leo <[email protected]>, 2022
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2022-06-16 06:28+0000\n"
2222
"PO-Revision-Date: 2021-06-28 01:50+0000\n"
23-
"Last-Translator: Alpha Du <alphanow@gmail.com>, 2022\n"
23+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -246,8 +246,8 @@ msgid ""
246246
"languages), but it can also extract components (sequence elements or object "
247247
"attributes) from the value into variables."
248248
msgstr ""
249-
":keyword:`match` 语句接受一个表达式并把它的值与以一个或多个 case 语句块形式给出的一系列模式进行比较。match 语句与 "
250-
"C、Java、JavaScript 等其他编程语言中的 switch 语句很相似,但它还能够从值中提取子部分(序列元素或对象属性)并赋值给变量。"
249+
":keyword:`match` 语句接受一个表达式并把它的值与以一个或多个 case 语句块形式给出的一系列模式进行比较。 此语句看上去类似于 "
250+
"C、Java、JavaScript 等其他编程语言中的 switch 语句,但它还能够从值中提取子部分(序列元素或对象属性)并赋值给变量。"
251251

252252
#: ../../tutorial/controlflow.rst:259
253253
msgid ""

0 commit comments

Comments
 (0)