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

Skip to content

Commit ad2d937

Browse files
[po] auto sync
1 parent d451019 commit ad2d937

4 files changed

Lines changed: 112 additions & 103 deletions

File tree

c-api/call.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Zxilly Chou <[email protected]>, 2020
1212
# helloworldSB <[email protected]>, 2021
1313
# Freesand Leo <[email protected]>, 2021
14+
# Jiuh-star <[email protected]>, 2021
1415
#
1516
#, fuzzy
1617
msgid ""
@@ -19,7 +20,7 @@ msgstr ""
1920
"Report-Msgid-Bugs-To: \n"
2021
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
2122
"PO-Revision-Date: 2020-05-31 09:28+0000\n"
22-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
23+
"Last-Translator: Jiuh-star <jiuh.star@gmail.com>, 2021\n"
2324
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2425
"MIME-Version: 1.0\n"
2526
"Content-Type: text/plain; charset=UTF-8\n"
@@ -173,6 +174,8 @@ msgid ""
173174
"argument 1 (not 0) in the allocated vector. The callee must restore the "
174175
"value of ``args[-1]`` before returning."
175176
msgstr ""
177+
"如果在 vectorcall 的 *nargsf* 参数中设置了此标志,则允许被调用者临时更改 ``args[-1]`` 的值。换句话说, *args*"
178+
" 指向分配向量中的参数 1(不是 0 )。被调用方必须在返回之前还原 ``args[-1]`` 的值。"
176179

177180
#: ../../c-api/call.rst:94
178181
msgid ""
@@ -187,6 +190,9 @@ msgid ""
187190
"allow callables such as bound methods to make their onward calls (which "
188191
"include a prepended *self* argument) very efficiently."
189192
msgstr ""
193+
"当调用方可以以几乎无代价的方式(无额外的内存申请),那么调用者被推荐适用: "
194+
":const:`PY_VECTORCALL_ARGUMENTS_OFFSET`。这样做将允许诸如绑定方法之类的可调用函数非常有效地进行向前调用(其中包括一个带前缀的"
195+
" *self* 参数)。"
190196

191197
#: ../../c-api/call.rst:102
192198
msgid ""

howto/descriptor.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Junkai Shao <[email protected]>, 2018
1111
# banxi <[email protected]>, 2019
1212
# ppcfish <[email protected]>, 2019
13-
# WH-2099 <[email protected]>, 2021
1413
# Freesand Leo <[email protected]>, 2021
14+
# WH-2099 <[email protected]>, 2021
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2021-04-23 06:07+0000\n"
2222
"PO-Revision-Date: 2017-02-16 17:44+0000\n"
23-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
23+
"Last-Translator: WH-2099 <wh2099@outlook.com>, 2021\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"
@@ -111,7 +111,7 @@ msgstr "简单示例:返回常量的描述器"
111111
msgid ""
112112
"The :class:`Ten` class is a descriptor that always returns the constant "
113113
"``10`` from its :meth:`__get__` method:"
114-
msgstr "类 :class:`Ten` 是一个描述器,它的 :meth:`__get__` 方法总是返回常量 ``10``::"
114+
msgstr "类 :class:`Ten` 是一个描述器,它的 :meth:`__get__` 方法总是返回常量 ``10``"
115115

116116
#: ../../howto/descriptor.rst:54
117117
msgid ""
@@ -132,8 +132,8 @@ msgid ""
132132
"operator finds a descriptor instance, recognized by its ``__get__`` method, "
133133
"and calls that method which returns ``10``."
134134
msgstr ""
135-
"在 ``a.x`` 属性查找中,点运算符会找到存储在类字典中的键 ``x`` 及对应的值 ``5``。 在 ``a.y`` "
136-
"查找中,点运算符会根据描述器实例的 ``__get__`` 方法将其识别出来,调用该方法并返回 ``10``。"
135+
"在 ``a.x`` 属性查找中,点运算符会找到存储在类字典中的键 ``x`` 及对应的值 ``5`` 。 在 ``a.y`` "
136+
"查找中,点运算符会根据描述器实例的 ``__get__`` 方法将其识别出来,调用该方法并返回 ``10`` 。"
137137

138138
#: ../../howto/descriptor.rst:78
139139
msgid ""
@@ -1096,7 +1096,7 @@ msgstr "当一个类定义了 ``__slots__``,它会用一个固定长度的 slo
10961096
msgid ""
10971097
"1. Provides immediate detection of bugs due to misspelled attribute "
10981098
"assignments. Only attribute names specified in ``__slots__`` are allowed:"
1099-
msgstr "1. 提供对由错误拼写的属性赋值导致的程序缺陷的即时检测。 只允许在 ``__slots__`` 中指定的属性名称:"
1099+
msgstr "1. 提供对由错误拼写的属性赋值导致的程序缺陷的即时检测。只允许在 ``__slots__`` 中指定的属性名称:"
11001100

11011101
#: ../../howto/descriptor.rst:1413
11021102
msgid ""

0 commit comments

Comments
 (0)