55#
66# Translators:
778+ # Azuk 443 <[email protected] >, 202089#
910#, fuzzy
1011msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314"Report-Msgid-Bugs-To : \n "
1415"POT-Creation-Date : 2020-04-10 22:51+0000\n "
1516"PO-Revision-Date : 2019-09-01 03:41+0000\n "
16- "
Last-Translator :
心韵 方 <[email protected] >, 2019 \n"
17+ "
Last-Translator :
Azuk 443 <[email protected] >, 2020 \n"
1718"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1819"MIME-Version : 1.0\n "
1920"Content-Type : text/plain; charset=UTF-8\n "
@@ -35,31 +36,31 @@ msgstr "如果对象 *o* 提供数字的协议,返回真 ``1``,否则返回
3536msgid ""
3637"Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. This is"
3738" the equivalent of the Python expression ``o1 + o2``."
38- msgstr ""
39+ msgstr "返回 *o1* 、*o2* 相加的结果,如果失败,返回 *NULL* 。等价于 Python 中的表达式 ``o1 + o2`` 。 "
3940
4041#: ../../c-api/number.rst:23
4142msgid ""
4243"Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. "
4344"This is the equivalent of the Python expression ``o1 - o2``."
44- msgstr ""
45+ msgstr "返回 *o1* 减去 *o2* 的结果,如果失败,返回 ``NULL`` 。等价于Python中的表达式 ``o1 - o2`` 。 "
4546
4647#: ../../c-api/number.rst:29
4748msgid ""
4849"Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. "
4950"This is the equivalent of the Python expression ``o1 * o2``."
50- msgstr ""
51+ msgstr "返回 *o1* 、 *o2* 相乘的结果,如果失败,返回 ``NULL``。等价于Python中的表达式 ``o1 * o2``。 "
5152
5253#: ../../c-api/number.rst:35
5354msgid ""
5455"Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on"
5556" failure. This is the equivalent of the Python expression ``o1 @ o2``."
56- msgstr ""
57+ msgstr "返回 *o1* 、*o2* 做矩阵乘法的结果,如果失败,返回 ``NULL``。等价于Python中的表达式 ``o1 @ o2``。 "
5758
5859#: ../../c-api/number.rst:43
5960msgid ""
6061"Return the floor of *o1* divided by *o2*, or ``NULL`` on failure. This is "
6162"equivalent to the \" classic\" division of integers."
62- msgstr ""
63+ msgstr "返回 *o1* 除以 *o2* 的向下取整后的结果,如果失败,返回 ``NULL``。等价于“传统”的整数除法。 "
6364
6465#: ../../c-api/number.rst:49
6566msgid ""
@@ -69,18 +70,21 @@ msgid ""
6970" represent all real numbers in base two. This function can return a "
7071"floating point value when passed two integers."
7172msgstr ""
73+ "返回 *o1* 除以 *o2* 的一个合理的近似值,如果失败,返回 "
74+ "``NULL``。这个值是近似的,因为二进制浮点数是一个近似值,它不可能表示出以2为基数的所有实数。这个函数返回两个整数相除得到的浮点数。"
7275
7376#: ../../c-api/number.rst:58
7477msgid ""
7578"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. "
7679"This is the equivalent of the Python expression ``o1 % o2``."
77- msgstr ""
80+ msgstr "返回 *o1* 除以 *o2* 得到的余数,如果失败,返回 ``NULL``。等价于Python中的表达式 ``o1 % o2``。 "
7881
7982#: ../../c-api/number.rst:66
8083msgid ""
8184"See the built-in function :func:`divmod`. Returns ``NULL`` on failure. This"
8285" is the equivalent of the Python expression ``divmod(o1, o2)``."
8386msgstr ""
87+ "参考内置函数 :func:`divmod`。如果失败,返回 ``NULL``。等价于Python表达式 ``divmod(o1, o2)``。"
8488
8589#: ../../c-api/number.rst:74
8690msgid ""
@@ -89,95 +93,109 @@ msgid ""
8993"optional. If *o3* is to be ignored, pass :c:data:`Py_None` in its place "
9094"(passing ``NULL`` for *o3* would cause an illegal memory access)."
9195msgstr ""
96+ "请参阅内置函数 :func:`pow`。 如果失败,返回 ``NULL``。 等价于 Python 中的表达式 ``pow(o1, o2, "
97+ "o3)``,其中 *o3* 是可选的。如果要忽略 *o3*,则需传入 :c:data:`Py_None` 作为代替(如果传入 ``NULL`` "
98+ "会导致非法内存访问)。"
9299
93100#: ../../c-api/number.rst:82
94101msgid ""
95102"Returns the negation of *o* on success, or ``NULL`` on failure. This is the "
96103"equivalent of the Python expression ``-o``."
97- msgstr ""
104+ msgstr "返回 *o* 的负值,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``-o``。 "
98105
99106#: ../../c-api/number.rst:88
100107msgid ""
101108"Returns *o* on success, or ``NULL`` on failure. This is the equivalent of "
102109"the Python expression ``+o``."
103- msgstr ""
110+ msgstr "返回 *o*,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``+o``。 "
104111
105112#: ../../c-api/number.rst:96
106113msgid ""
107114"Returns the absolute value of *o*, or ``NULL`` on failure. This is the "
108115"equivalent of the Python expression ``abs(o)``."
109- msgstr ""
116+ msgstr "返回 *o* 的绝对值,如果失败,返回 ``NULL``。等价于 Python 表达式 ``abs(o)``。 "
110117
111118#: ../../c-api/number.rst:102
112119msgid ""
113120"Returns the bitwise negation of *o* on success, or ``NULL`` on failure. "
114121"This is the equivalent of the Python expression ``~o``."
115- msgstr ""
122+ msgstr "返回 *o* 的按位取反后的结果,如果失败,返回 ``NULL``。等价于 Python 表达式 ``~o``。 "
116123
117124#: ../../c-api/number.rst:108
118125msgid ""
119126"Returns the result of left shifting *o1* by *o2* on success, or ``NULL`` on "
120127"failure. This is the equivalent of the Python expression ``o1 << o2``."
121- msgstr ""
128+ msgstr "返回 *o1* 左移 *o2* 个比特后的结果,如果失败,返回 ``NULL``。等价于 Python 表达式 ``o1 << o2``。 "
122129
123130#: ../../c-api/number.rst:114
124131msgid ""
125132"Returns the result of right shifting *o1* by *o2* on success, or ``NULL`` on"
126133" failure. This is the equivalent of the Python expression ``o1 >> o2``."
127134msgstr ""
135+ "返回 *o1* 右移 *o2* 个比特后的结果,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``o1 >> o2``。"
128136
129137#: ../../c-api/number.rst:120
130138msgid ""
131139"Returns the \" bitwise and\" of *o1* and *o2* on success and ``NULL`` on "
132140"failure. This is the equivalent of the Python expression ``o1 & o2``."
133- msgstr ""
141+ msgstr "返回 *o1* 和 *o2* “按位与”的结果,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``o1 & o2``。 "
134142
135143#: ../../c-api/number.rst:126
136144msgid ""
137145"Returns the \" bitwise exclusive or\" of *o1* by *o2* on success, or ``NULL``"
138146" on failure. This is the equivalent of the Python expression ``o1 ^ o2``."
139- msgstr ""
147+ msgstr "返回 *o1* 和 *o2* “按位异或”的结果,如果失败,返回 ``NULL`` 。等价于Python中的表达式 ``o1 ^o2``。 "
140148
141149#: ../../c-api/number.rst:132
142150msgid ""
143151"Returns the \" bitwise or\" of *o1* and *o2* on success, or ``NULL`` on "
144152"failure. This is the equivalent of the Python expression ``o1 | o2``."
145- msgstr ""
153+ msgstr "返回 *o1* 和 *o2* “按位或”的结果,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``o1 | o2``。 "
146154
147155#: ../../c-api/number.rst:138
148156msgid ""
149157"Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. The "
150158"operation is done *in-place* when *o1* supports it. This is the equivalent "
151159"of the Python statement ``o1 += o2``."
152160msgstr ""
161+ "返回 *o1* 、*o2* 相加的结果,如果失败,返回 *NULL* 。当 *o1* 支持时,这个操作直接将值赋给 *o1*。 等价于 Python "
162+ "语句 ``o1 + o2``。"
153163
154164#: ../../c-api/number.rst:145
155165msgid ""
156166"Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. "
157167"The operation is done *in-place* when *o1* supports it. This is the "
158168"equivalent of the Python statement ``o1 -= o2``."
159169msgstr ""
170+ "返回 *o1* 、*o2* 相减的结果,如果失败,返回 ``NULL`` 。当 *o1* 支持时,这个运算完成后将值赋给 *o1* 。 等价于 "
171+ "Python语句 ``o1 -= o2``。"
160172
161173#: ../../c-api/number.rst:152
162174msgid ""
163175"Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. "
164176"The operation is done *in-place* when *o1* supports it. This is the "
165177"equivalent of the Python statement ``o1 *= o2``."
166178msgstr ""
179+ "返回 *o1* 、*o2*相乘的结果,如果失败,返回 ``NULL`` 。当 *o1* 支持时,这个运算完成后将值赋给 *o1*。 等价于 Python"
180+ " 语句 ``o1 += o2``。"
167181
168182#: ../../c-api/number.rst:159
169183msgid ""
170184"Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on"
171185" failure. The operation is done *in-place* when *o1* supports it. This is "
172186"the equivalent of the Python statement ``o1 @= o2``."
173187msgstr ""
188+ "返回 *o1* 、*o2* 做矩阵乘法后的结果,如果失败,返回 ``NULL`` 。当 *o1* 支持时,这个运算完成后将值赋给 *o1*。 等价于 "
189+ "Python 语句 ``o1 @= o2``。"
174190
175191#: ../../c-api/number.rst:168
176192msgid ""
177193"Returns the mathematical floor of dividing *o1* by *o2*, or ``NULL`` on "
178194"failure. The operation is done *in-place* when *o1* supports it. This is "
179195"the equivalent of the Python statement ``o1 //= o2``."
180196msgstr ""
197+ "返回 *o1* 除以 *o2* 后向下取整的结果,如果失败,返回 ``NULL``。当 *o1* 支持时,这个运算完成后将值赋给 *o1*。 等价于 "
198+ "Python 语句 ``o1 //= o2``。"
181199
182200#: ../../c-api/number.rst:175
183201msgid ""
@@ -188,13 +206,18 @@ msgid ""
188206"floating point value when passed two integers. The operation is done *in-"
189207"place* when *o1* supports it."
190208msgstr ""
209+ "返回 *o1* 除以 *o2* 的一个合理的近似值,如果失败,返回 "
210+ "``NULL``。这个值是近似的,因为二进制浮点数是一个近似值,不可能以2为基数来表示出所有实数。这个函数返回两个整数相除得到的浮点数。当 *o1* "
211+ "支持时,这个运算完成后将值赋给 *o1*。"
191212
192213#: ../../c-api/number.rst:184
193214msgid ""
194215"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. The"
195216" operation is done *in-place* when *o1* supports it. This is the equivalent"
196217" of the Python statement ``o1 %= o2``."
197218msgstr ""
219+ "返回 *o1* 除以 *o2* 得到的余数,如果失败,返回 ``NULL``。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 Python "
220+ "语句 ``o1 %= o2``。"
198221
199222#: ../../c-api/number.rst:193
200223msgid ""
0 commit comments