@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.8\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2020-02-09 12:40 +0000\n "
15+ "POT-Creation-Date : 2020-07-05 14:24 +0000\n "
1616"PO-Revision-Date : 2020-05-30 11:49+0000\n "
1717"
Last-Translator :
Vegetables <[email protected] >, 2020\n "
1818"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -124,230 +124,224 @@ msgid ""
124124msgstr ""
125125
126126#: ../../c-api/long.rst:101
127- msgid ""
128- "Convert a sequence of Unicode digits to a Python integer value. The Unicode"
129- " string is first encoded to a byte string using "
130- ":c:func:`PyUnicode_EncodeDecimal` and then converted using "
131- ":c:func:`PyLong_FromString`."
127+ msgid "Convert a sequence of Unicode digits to a Python integer value."
132128msgstr ""
133129
134- #: ../../c-api/long.rst:107
130+ #: ../../c-api/long.rst:105
135131msgid ""
136132"Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using "
137133":c:func:`PyLong_FromUnicodeObject`."
138134msgstr ""
139135
140- #: ../../c-api/long.rst:112
136+ #: ../../c-api/long.rst:110
141137msgid ""
142138"Convert a sequence of Unicode digits in the string *u* to a Python integer "
143- "value. The Unicode string is first encoded to a byte string using "
144- ":c:func:`PyUnicode_EncodeDecimal` and then converted using "
145- ":c:func:`PyLong_FromString`."
139+ "value."
146140msgstr ""
147141
148- #: ../../c-api/long.rst:122
142+ #: ../../c-api/long.rst:118
149143msgid ""
150144"Create a Python integer from the pointer *p*. The pointer value can be "
151145"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`."
152146msgstr ""
153147
154- #: ../../c-api/long.rst:133 ../../c-api/long.rst:152
148+ #: ../../c-api/long.rst:129 ../../c-api/long.rst:148
155149msgid ""
156150"Return a C :c:type:`long` representation of *obj*. If *obj* is not an "
157151"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` or "
158152":meth:`__int__` method (if present) to convert it to a "
159153":c:type:`PyLongObject`."
160154msgstr ""
161155
162- #: ../../c-api/long.rst:138
156+ #: ../../c-api/long.rst:134
163157msgid ""
164158"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
165159":c:type:`long`."
166160msgstr ""
167161
168- #: ../../c-api/long.rst:141 ../../c-api/long.rst:162 ../../c-api/long.rst:184
169- #: ../../c-api/long.rst:205 ../../c-api/long.rst:228
162+ #: ../../c-api/long.rst:137 ../../c-api/long.rst:158 ../../c-api/long.rst:180
163+ #: ../../c-api/long.rst:201 ../../c-api/long.rst:224
170164msgid ""
171165"Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
172166msgstr ""
173167
174- #: ../../c-api/long.rst:143 ../../c-api/long.rst:164 ../../c-api/long.rst:186
175- #: ../../c-api/long.rst:209 ../../c-api/long.rst:294 ../../c-api/long.rst:314
168+ #: ../../c-api/long.rst:139 ../../c-api/long.rst:160 ../../c-api/long.rst:182
169+ #: ../../c-api/long.rst:205 ../../c-api/long.rst:290 ../../c-api/long.rst:310
176170msgid "Use :meth:`__index__` if available."
177171msgstr "如果可用将使用 :meth:`__index__`。"
178172
179- #: ../../c-api/long.rst:146 ../../c-api/long.rst:167 ../../c-api/long.rst:189
180- #: ../../c-api/long.rst:212 ../../c-api/long.rst:297 ../../c-api/long.rst:317
173+ #: ../../c-api/long.rst:142 ../../c-api/long.rst:163 ../../c-api/long.rst:185
174+ #: ../../c-api/long.rst:208 ../../c-api/long.rst:293 ../../c-api/long.rst:313
181175msgid "Using :meth:`__int__` is deprecated."
182176msgstr ""
183177
184- #: ../../c-api/long.rst:157
178+ #: ../../c-api/long.rst:153
185179msgid ""
186180"If the value of *obj* is greater than :const:`LONG_MAX` or less than "
187181":const:`LONG_MIN`, set *\\ *overflow* to ``1`` or ``-1``, respectively, and "
188182"return ``-1``; otherwise, set *\\ *overflow* to ``0``. If any other "
189183"exception occurs set *\\ *overflow* to ``0`` and return ``-1`` as usual."
190184msgstr ""
191185
192- #: ../../c-api/long.rst:176 ../../c-api/long.rst:195
186+ #: ../../c-api/long.rst:172 ../../c-api/long.rst:191
193187msgid ""
194188"Return a C :c:type:`long long` representation of *obj*. If *obj* is not an "
195189"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` or "
196190":meth:`__int__` method (if present) to convert it to a "
197191":c:type:`PyLongObject`."
198192msgstr ""
199193
200- #: ../../c-api/long.rst:181
194+ #: ../../c-api/long.rst:177
201195msgid ""
202196"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
203197":c:type:`long long`."
204198msgstr ""
205199
206- #: ../../c-api/long.rst:200
200+ #: ../../c-api/long.rst:196
207201msgid ""
208202"If the value of *obj* is greater than :const:`PY_LLONG_MAX` or less than "
209203":const:`PY_LLONG_MIN`, set *\\ *overflow* to ``1`` or ``-1``, respectively, "
210204"and return ``-1``; otherwise, set *\\ *overflow* to ``0``. If any other "
211205"exception occurs set *\\ *overflow* to ``0`` and return ``-1`` as usual."
212206msgstr ""
213207
214- #: ../../c-api/long.rst:222
208+ #: ../../c-api/long.rst:218
215209msgid ""
216210"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
217211"be an instance of :c:type:`PyLongObject`."
218212msgstr ""
219213
220- #: ../../c-api/long.rst:225
214+ #: ../../c-api/long.rst:221
221215msgid ""
222216"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
223217":c:type:`Py_ssize_t`."
224218msgstr ""
225219
226- #: ../../c-api/long.rst:237
220+ #: ../../c-api/long.rst:233
227221msgid ""
228222"Return a C :c:type:`unsigned long` representation of *pylong*. *pylong* "
229223"must be an instance of :c:type:`PyLongObject`."
230224msgstr ""
231225
232- #: ../../c-api/long.rst:240
226+ #: ../../c-api/long.rst:236
233227msgid ""
234228"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
235229":c:type:`unsigned long`."
236230msgstr ""
237231
238- #: ../../c-api/long.rst:243
232+ #: ../../c-api/long.rst:239
239233msgid ""
240234"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
241235"disambiguate."
242236msgstr ""
243237
244- #: ../../c-api/long.rst:253
238+ #: ../../c-api/long.rst:249
245239msgid ""
246240"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an"
247241" instance of :c:type:`PyLongObject`."
248242msgstr ""
249243
250- #: ../../c-api/long.rst:256
244+ #: ../../c-api/long.rst:252
251245msgid ""
252246"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
253247":c:type:`size_t`."
254248msgstr ""
255249
256- #: ../../c-api/long.rst:259
250+ #: ../../c-api/long.rst:255
257251msgid ""
258252"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
259253"disambiguate."
260254msgstr ""
261255
262- #: ../../c-api/long.rst:268
256+ #: ../../c-api/long.rst:264
263257msgid ""
264258"Return a C :c:type:`unsigned long long` representation of *pylong*. "
265259"*pylong* must be an instance of :c:type:`PyLongObject`."
266260msgstr ""
267261
268- #: ../../c-api/long.rst:271
262+ #: ../../c-api/long.rst:267
269263msgid ""
270264"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an "
271265":c:type:`unsigned long long`."
272266msgstr ""
273267
274- #: ../../c-api/long.rst:274
268+ #: ../../c-api/long.rst:270
275269msgid ""
276270"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to"
277271" disambiguate."
278272msgstr ""
279273
280- #: ../../c-api/long.rst:277
274+ #: ../../c-api/long.rst:273
281275msgid ""
282276"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
283277msgstr ""
284278
285- #: ../../c-api/long.rst:283
279+ #: ../../c-api/long.rst:279
286280msgid ""
287281"Return a C :c:type:`unsigned long` representation of *obj*. If *obj* is not"
288282" an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` or "
289283":meth:`__int__` method (if present) to convert it to a "
290284":c:type:`PyLongObject`."
291285msgstr ""
292286
293- #: ../../c-api/long.rst:288
287+ #: ../../c-api/long.rst:284
294288msgid ""
295289"If the value of *obj* is out of range for an :c:type:`unsigned long`, return"
296290" the reduction of that value modulo ``ULONG_MAX + 1``."
297291msgstr ""
298292
299- #: ../../c-api/long.rst:291
293+ #: ../../c-api/long.rst:287
300294msgid ""
301295"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
302296"disambiguate."
303297msgstr ""
304298
305- #: ../../c-api/long.rst:303
299+ #: ../../c-api/long.rst:299
306300msgid ""
307301"Return a C :c:type:`unsigned long long` representation of *obj*. If *obj* "
308302"is not an instance of :c:type:`PyLongObject`, first call its "
309303":meth:`__index__` or :meth:`__int__` method (if present) to convert it to a "
310304":c:type:`PyLongObject`."
311305msgstr ""
312306
313- #: ../../c-api/long.rst:308
307+ #: ../../c-api/long.rst:304
314308msgid ""
315309"If the value of *obj* is out of range for an :c:type:`unsigned long long`, "
316310"return the reduction of that value modulo ``PY_ULLONG_MAX + 1``."
317311msgstr ""
318312
319- #: ../../c-api/long.rst:311
313+ #: ../../c-api/long.rst:307
320314msgid ""
321315"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` "
322316"to disambiguate."
323317msgstr ""
324318
325- #: ../../c-api/long.rst:323
319+ #: ../../c-api/long.rst:319
326320msgid ""
327321"Return a C :c:type:`double` representation of *pylong*. *pylong* must be an"
328322" instance of :c:type:`PyLongObject`."
329323msgstr ""
330324
331- #: ../../c-api/long.rst:326
325+ #: ../../c-api/long.rst:322
332326msgid ""
333327"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
334328":c:type:`double`."
335329msgstr ""
336330
337- #: ../../c-api/long.rst:329
331+ #: ../../c-api/long.rst:325
338332msgid ""
339333"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
340334msgstr ""
341335
342- #: ../../c-api/long.rst:334
336+ #: ../../c-api/long.rst:330
343337msgid ""
344338"Convert a Python integer *pylong* to a C :c:type:`void` pointer. If *pylong*"
345339" cannot be converted, an :exc:`OverflowError` will be raised. This is only "
346340"assured to produce a usable :c:type:`void` pointer for values created with "
347341":c:func:`PyLong_FromVoidPtr`."
348342msgstr ""
349343
350- #: ../../c-api/long.rst:339
344+ #: ../../c-api/long.rst:335
351345msgid ""
352346"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
353347msgstr ""
0 commit comments