66# Translators:
7788# Freesand Leo <[email protected] >, 20199+ # Azuk 443 <[email protected] >, 2020910#
1011#, fuzzy
1112msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415"Report-Msgid-Bugs-To : \n "
1516"POT-Creation-Date : 2020-05-31 09:25+0000\n "
1617"PO-Revision-Date : 2017-02-16 17:37+0000\n "
17- "
Last-Translator :
Freesand Leo <[email protected] >, 2019 \n"
18+ "
Last-Translator :
Azuk 443 <[email protected] >, 2020 \n"
1819"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1920"MIME-Version : 1.0\n "
2021"Content-Type : text/plain; charset=UTF-8\n "
@@ -40,31 +41,31 @@ msgstr "如果 *o* 是一个索引整数则返回 ``1``。"
4041msgid ""
4142"Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. This is"
4243" the equivalent of the Python expression ``o1 + o2``."
43- msgstr ""
44+ msgstr "返回 *o1* 、*o2* 相加的结果,如果失败,返回 ``NULL``。等价于 Python 表达式 ``o1 + o2``。 "
4445
4546#: ../../c-api/number.rst:26
4647msgid ""
4748"Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. "
4849"This is the equivalent of the Python expression ``o1 - o2``."
49- msgstr ""
50+ msgstr "返回 *o1* 减去 *o2* 的结果,如果失败,返回 ``NULL``。等价于 Python 表达式 ``o1 - o2``。 "
5051
5152#: ../../c-api/number.rst:32
5253msgid ""
5354"Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. "
5455"This is the equivalent of the Python expression ``o1 * o2``."
55- msgstr ""
56+ msgstr "返回 *o1* 、 *o2* 相乘的结果,如果失败,返回 ``NULL``。等价于 Python 表达式 ``o1 * o2``。 "
5657
5758#: ../../c-api/number.rst:38
5859msgid ""
5960"Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on"
6061" failure. This is the equivalent of the Python expression ``o1 @ o2``."
61- msgstr ""
62+ msgstr "返回 *o1* 、*o2* 做矩阵乘法的结果,如果失败,返回 ``NULL``。等价于 Python 表达式 ``o1 @ o2``。 "
6263
6364#: ../../c-api/number.rst:46
6465msgid ""
6566"Return the floor of *o1* divided by *o2*, or ``NULL`` on failure. This is "
6667"equivalent to the \" classic\" division of integers."
67- msgstr ""
68+ msgstr "返回 *o1* 除以 *o2* 的向下取整后的结果,如果失败,返回 ``NULL``。等价于“传统”的整数除法。 "
6869
6970#: ../../c-api/number.rst:52
7071msgid ""
@@ -74,18 +75,21 @@ msgid ""
7475" represent all real numbers in base two. This function can return a "
7576"floating point value when passed two integers."
7677msgstr ""
78+ "返回 *o1* 除以 *o2* 的一个合理的近似值,如果失败,返回 "
79+ "``NULL``。结果是近似的,因为二进制浮点数是一个近似值,不可能以2为基数来表示出所有实数。这个函数返回两个整数相除得到的浮点数。"
7780
7881#: ../../c-api/number.rst:61
7982msgid ""
8083"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. "
8184"This is the equivalent of the Python expression ``o1 % o2``."
82- msgstr ""
85+ msgstr "返回 *o1* 除以 *o2* 得到的余数,如果失败,返回 ``NULL``。等价于 Python 表达式 ``o1 % o2``。 "
8386
8487#: ../../c-api/number.rst:69
8588msgid ""
8689"See the built-in function :func:`divmod`. Returns ``NULL`` on failure. This"
8790" is the equivalent of the Python expression ``divmod(o1, o2)``."
8891msgstr ""
92+ "参考内置函数 :func:`divmod`。如果失败,返回 ``NULL``。等价于 Python 表达式 ``divmod(o1, o2)``。"
8993
9094#: ../../c-api/number.rst:77
9195msgid ""
@@ -94,95 +98,110 @@ msgid ""
9498"optional. If *o3* is to be ignored, pass :c:data:`Py_None` in its place "
9599"(passing ``NULL`` for *o3* would cause an illegal memory access)."
96100msgstr ""
101+ "请参阅内置函数 :func:`pow`。 如果失败,返回 ``NULL``。 等价于 Python 中的表达式 ``pow(o1, o2, "
102+ "o3)``,其中 *o3* 是可选的。如果要忽略 *o3*,则需传入 :c:data:`Py_None` 作为代替(如果传入 ``NULL`` "
103+ "会导致非法内存访问)。"
97104
98105#: ../../c-api/number.rst:85
99106msgid ""
100107"Returns the negation of *o* on success, or ``NULL`` on failure. This is the "
101108"equivalent of the Python expression ``-o``."
102- msgstr ""
109+ msgstr "返回 *o* 的负值,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``-o``。 "
103110
104111#: ../../c-api/number.rst:91
105112msgid ""
106113"Returns *o* on success, or ``NULL`` on failure. This is the equivalent of "
107114"the Python expression ``+o``."
108- msgstr ""
115+ msgstr "返回 *o*,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``+o``。 "
109116
110117#: ../../c-api/number.rst:99
111118msgid ""
112119"Returns the absolute value of *o*, or ``NULL`` on failure. This is the "
113120"equivalent of the Python expression ``abs(o)``."
114- msgstr ""
121+ msgstr "返回 *o* 的绝对值,如果失败,返回 ``NULL``。等价于 Python 表达式 ``abs(o)``。 "
115122
116123#: ../../c-api/number.rst:105
117124msgid ""
118125"Returns the bitwise negation of *o* on success, or ``NULL`` on failure. "
119126"This is the equivalent of the Python expression ``~o``."
120- msgstr ""
127+ msgstr "返回 *o* 的按位取反后的结果,如果失败,返回 ``NULL``。等价于 Python 表达式 ``~o``。 "
121128
122129#: ../../c-api/number.rst:111
123130msgid ""
124131"Returns the result of left shifting *o1* by *o2* on success, or ``NULL`` on "
125132"failure. This is the equivalent of the Python expression ``o1 << o2``."
126- msgstr ""
133+ msgstr "返回 *o1* 左移 *o2* 个比特后的结果,如果失败,返回 ``NULL``。等价于 Python 表达式 ``o1 << o2``。 "
127134
128135#: ../../c-api/number.rst:117
129136msgid ""
130137"Returns the result of right shifting *o1* by *o2* on success, or ``NULL`` on"
131138" failure. This is the equivalent of the Python expression ``o1 >> o2``."
132139msgstr ""
140+ "返回 *o1* 右移 *o2* 个比特后的结果,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``o1 >> o2``。"
133141
134142#: ../../c-api/number.rst:123
135143msgid ""
136144"Returns the \" bitwise and\" of *o1* and *o2* on success and ``NULL`` on "
137145"failure. This is the equivalent of the Python expression ``o1 & o2``."
138- msgstr ""
146+ msgstr "返回 *o1* 和 *o2* “按位与”的结果,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``o1 & o2``。 "
139147
140148#: ../../c-api/number.rst:129
141149msgid ""
142150"Returns the \" bitwise exclusive or\" of *o1* by *o2* on success, or ``NULL``"
143151" on failure. This is the equivalent of the Python expression ``o1 ^ o2``."
144152msgstr ""
153+ "返回 *o1* 和 *o2* “按位异或”的结果,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``o1 ^ o2``。"
145154
146155#: ../../c-api/number.rst:135
147156msgid ""
148157"Returns the \" bitwise or\" of *o1* and *o2* on success, or ``NULL`` on "
149158"failure. This is the equivalent of the Python expression ``o1 | o2``."
150- msgstr ""
159+ msgstr "返回 *o1* 和 *o2* “按位或”的结果,如果失败,返回 ``NULL`` 。等价于 Python 表达式 ``o1 | o2``。 "
151160
152161#: ../../c-api/number.rst:141
153162msgid ""
154163"Returns the result of adding *o1* and *o2*, or ``NULL`` on failure. The "
155164"operation is done *in-place* when *o1* supports it. This is the equivalent "
156165"of the Python statement ``o1 += o2``."
157166msgstr ""
167+ "返回 *o1* 、*o2* 相加的结果,如果失败,返回 ``NULL``。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 Python 语句"
168+ " ``o1 += o2``。"
158169
159170#: ../../c-api/number.rst:148
160171msgid ""
161172"Returns the result of subtracting *o2* from *o1*, or ``NULL`` on failure. "
162173"The operation is done *in-place* when *o1* supports it. This is the "
163174"equivalent of the Python statement ``o1 -= o2``."
164175msgstr ""
176+ "返回 *o1* 、*o2* 相减的结果,如果失败,返回 ``NULL`` 。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 Python "
177+ "语句 ``o1 -= o2``。"
165178
166179#: ../../c-api/number.rst:155
167180msgid ""
168181"Returns the result of multiplying *o1* and *o2*, or ``NULL`` on failure. "
169182"The operation is done *in-place* when *o1* supports it. This is the "
170183"equivalent of the Python statement ``o1 *= o2``."
171184msgstr ""
185+ "返回 *o1* 、*o2*相乘的结果,如果失败,返回 ``NULL`` 。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 Python 语句"
186+ " ``o1 *= o2``。"
172187
173188#: ../../c-api/number.rst:162
174189msgid ""
175190"Returns the result of matrix multiplication on *o1* and *o2*, or ``NULL`` on"
176191" failure. The operation is done *in-place* when *o1* supports it. This is "
177192"the equivalent of the Python statement ``o1 @= o2``."
178193msgstr ""
194+ "返回 *o1* 、*o2* 做矩阵乘法后的结果,如果失败,返回 ``NULL`` 。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 "
195+ "Python 语句 ``o1 @= o2``。"
179196
180197#: ../../c-api/number.rst:171
181198msgid ""
182199"Returns the mathematical floor of dividing *o1* by *o2*, or ``NULL`` on "
183200"failure. The operation is done *in-place* when *o1* supports it. This is "
184201"the equivalent of the Python statement ``o1 //= o2``."
185202msgstr ""
203+ "返回 *o1* 除以 *o2* 后向下取整的结果,如果失败,返回 ``NULL``。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 "
204+ "Python 语句 ``o1 //= o2``。"
186205
187206#: ../../c-api/number.rst:178
188207msgid ""
@@ -193,13 +212,18 @@ msgid ""
193212"floating point value when passed two integers. The operation is done *in-"
194213"place* when *o1* supports it."
195214msgstr ""
215+ "返回 *o1* 除以 *o2* 的一个合理的近似值,如果失败,返回 "
216+ "``NULL``。结果是近似的,因为二进制浮点数是一个近似值,不可能以2为基数来表示出所有实数。这个函数返回两个整数相除得到的浮点数。当 *o1* "
217+ "支持时,这个运算直接使用它储存结果。"
196218
197219#: ../../c-api/number.rst:187
198220msgid ""
199221"Returns the remainder of dividing *o1* by *o2*, or ``NULL`` on failure. The"
200222" operation is done *in-place* when *o1* supports it. This is the equivalent"
201223" of the Python statement ``o1 %= o2``."
202224msgstr ""
225+ "返回 *o1* 除以 *o2* 得到的余数,如果失败,返回 ``NULL``。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 Python "
226+ "语句 ``o1 %= o2``。"
203227
204228#: ../../c-api/number.rst:196
205229msgid ""
@@ -210,20 +234,27 @@ msgid ""
210234" pass :c:data:`Py_None` in its place (passing ``NULL`` for *o3* would cause "
211235"an illegal memory access)."
212236msgstr ""
237+ "请参阅内置函数 :func:`pow`。 如果失败,返回 ``NULL``。当 *o1* 支持时,这个运算直接使用它储存结果。当 *o3* 是 "
238+ ":c:data:`Py_None` 时,等价于 Python 语句 ``o1 **= o2``;否则等价于在原来位置储存结果的 ``pow(o1, "
239+ "o2, o3)`` 。如果要忽略 *o3*,则需传入 :c:data:`Py_None` (传入 ``NULL`` 会导致非法内存访问)。"
213240
214241#: ../../c-api/number.rst:205
215242msgid ""
216243"Returns the result of left shifting *o1* by *o2* on success, or ``NULL`` on "
217244"failure. The operation is done *in-place* when *o1* supports it. This is "
218245"the equivalent of the Python statement ``o1 <<= o2``."
219246msgstr ""
247+ "返回 *o1* 左移 *o2* 个比特后的结果,如果失败,返回 ``NULL``。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 "
248+ "Python 语句 ``o1 <<= o2``。"
220249
221250#: ../../c-api/number.rst:212
222251msgid ""
223252"Returns the result of right shifting *o1* by *o2* on success, or ``NULL`` on"
224253" failure. The operation is done *in-place* when *o1* supports it. This is "
225254"the equivalent of the Python statement ``o1 >>= o2``."
226255msgstr ""
256+ "返回 *o1* 右移 *o2* 个比特后的结果,如果失败,返回 ``NULL``。当 *o1* 支持时,这个运算直接使用它储存结果。 等价于 "
257+ "Python 语句 ``o1 >>= o2``。"
227258
228259#: ../../c-api/number.rst:219
229260msgid ""
0 commit comments