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

Skip to content

Commit ee1be1b

Browse files
[po] auto sync
1 parent 69e2182 commit ee1be1b

2 files changed

Lines changed: 43 additions & 49 deletions

File tree

c-api/long.po

Lines changed: 41 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
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 ""
124124
msgstr ""
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."
132128
msgstr ""
133129

134-
#: ../../c-api/long.rst:107
130+
#: ../../c-api/long.rst:105
135131
msgid ""
136132
"Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using "
137133
":c:func:`PyLong_FromUnicodeObject`."
138134
msgstr ""
139135

140-
#: ../../c-api/long.rst:112
136+
#: ../../c-api/long.rst:110
141137
msgid ""
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."
146140
msgstr ""
147141

148-
#: ../../c-api/long.rst:122
142+
#: ../../c-api/long.rst:118
149143
msgid ""
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`."
152146
msgstr ""
153147

154-
#: ../../c-api/long.rst:133 ../../c-api/long.rst:152
148+
#: ../../c-api/long.rst:129 ../../c-api/long.rst:148
155149
msgid ""
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`."
160154
msgstr ""
161155

162-
#: ../../c-api/long.rst:138
156+
#: ../../c-api/long.rst:134
163157
msgid ""
164158
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
165159
":c:type:`long`."
166160
msgstr ""
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
170164
msgid ""
171165
"Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
172166
msgstr ""
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
176170
msgid "Use :meth:`__index__` if available."
177171
msgstr "如果可用将使用 :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
181175
msgid "Using :meth:`__int__` is deprecated."
182176
msgstr ""
183177

184-
#: ../../c-api/long.rst:157
178+
#: ../../c-api/long.rst:153
185179
msgid ""
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."
190184
msgstr ""
191185

192-
#: ../../c-api/long.rst:176 ../../c-api/long.rst:195
186+
#: ../../c-api/long.rst:172 ../../c-api/long.rst:191
193187
msgid ""
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`."
198192
msgstr ""
199193

200-
#: ../../c-api/long.rst:181
194+
#: ../../c-api/long.rst:177
201195
msgid ""
202196
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
203197
":c:type:`long long`."
204198
msgstr ""
205199

206-
#: ../../c-api/long.rst:200
200+
#: ../../c-api/long.rst:196
207201
msgid ""
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."
212206
msgstr ""
213207

214-
#: ../../c-api/long.rst:222
208+
#: ../../c-api/long.rst:218
215209
msgid ""
216210
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
217211
"be an instance of :c:type:`PyLongObject`."
218212
msgstr ""
219213

220-
#: ../../c-api/long.rst:225
214+
#: ../../c-api/long.rst:221
221215
msgid ""
222216
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
223217
":c:type:`Py_ssize_t`."
224218
msgstr ""
225219

226-
#: ../../c-api/long.rst:237
220+
#: ../../c-api/long.rst:233
227221
msgid ""
228222
"Return a C :c:type:`unsigned long` representation of *pylong*. *pylong* "
229223
"must be an instance of :c:type:`PyLongObject`."
230224
msgstr ""
231225

232-
#: ../../c-api/long.rst:240
226+
#: ../../c-api/long.rst:236
233227
msgid ""
234228
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
235229
":c:type:`unsigned long`."
236230
msgstr ""
237231

238-
#: ../../c-api/long.rst:243
232+
#: ../../c-api/long.rst:239
239233
msgid ""
240234
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
241235
"disambiguate."
242236
msgstr ""
243237

244-
#: ../../c-api/long.rst:253
238+
#: ../../c-api/long.rst:249
245239
msgid ""
246240
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an"
247241
" instance of :c:type:`PyLongObject`."
248242
msgstr ""
249243

250-
#: ../../c-api/long.rst:256
244+
#: ../../c-api/long.rst:252
251245
msgid ""
252246
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
253247
":c:type:`size_t`."
254248
msgstr ""
255249

256-
#: ../../c-api/long.rst:259
250+
#: ../../c-api/long.rst:255
257251
msgid ""
258252
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
259253
"disambiguate."
260254
msgstr ""
261255

262-
#: ../../c-api/long.rst:268
256+
#: ../../c-api/long.rst:264
263257
msgid ""
264258
"Return a C :c:type:`unsigned long long` representation of *pylong*. "
265259
"*pylong* must be an instance of :c:type:`PyLongObject`."
266260
msgstr ""
267261

268-
#: ../../c-api/long.rst:271
262+
#: ../../c-api/long.rst:267
269263
msgid ""
270264
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an "
271265
":c:type:`unsigned long long`."
272266
msgstr ""
273267

274-
#: ../../c-api/long.rst:274
268+
#: ../../c-api/long.rst:270
275269
msgid ""
276270
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to"
277271
" disambiguate."
278272
msgstr ""
279273

280-
#: ../../c-api/long.rst:277
274+
#: ../../c-api/long.rst:273
281275
msgid ""
282276
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
283277
msgstr ""
284278

285-
#: ../../c-api/long.rst:283
279+
#: ../../c-api/long.rst:279
286280
msgid ""
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`."
291285
msgstr ""
292286

293-
#: ../../c-api/long.rst:288
287+
#: ../../c-api/long.rst:284
294288
msgid ""
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``."
297291
msgstr ""
298292

299-
#: ../../c-api/long.rst:291
293+
#: ../../c-api/long.rst:287
300294
msgid ""
301295
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
302296
"disambiguate."
303297
msgstr ""
304298

305-
#: ../../c-api/long.rst:303
299+
#: ../../c-api/long.rst:299
306300
msgid ""
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`."
311305
msgstr ""
312306

313-
#: ../../c-api/long.rst:308
307+
#: ../../c-api/long.rst:304
314308
msgid ""
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``."
317311
msgstr ""
318312

319-
#: ../../c-api/long.rst:311
313+
#: ../../c-api/long.rst:307
320314
msgid ""
321315
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` "
322316
"to disambiguate."
323317
msgstr ""
324318

325-
#: ../../c-api/long.rst:323
319+
#: ../../c-api/long.rst:319
326320
msgid ""
327321
"Return a C :c:type:`double` representation of *pylong*. *pylong* must be an"
328322
" instance of :c:type:`PyLongObject`."
329323
msgstr ""
330324

331-
#: ../../c-api/long.rst:326
325+
#: ../../c-api/long.rst:322
332326
msgid ""
333327
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a "
334328
":c:type:`double`."
335329
msgstr ""
336330

337-
#: ../../c-api/long.rst:329
331+
#: ../../c-api/long.rst:325
338332
msgid ""
339333
"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
340334
msgstr ""
341335

342-
#: ../../c-api/long.rst:334
336+
#: ../../c-api/long.rst:330
343337
msgid ""
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`."
348342
msgstr ""
349343

350-
#: ../../c-api/long.rst:339
344+
#: ../../c-api/long.rst:335
351345
msgid ""
352346
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
353347
msgstr ""

library/logging.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,14 +1969,14 @@ msgid ""
19691969
"Informs the logging system to perform an orderly shutdown by flushing and "
19701970
"closing all handlers. This should be called at application exit and no "
19711971
"further use of the logging system should be made after this call."
1972-
msgstr ""
1972+
msgstr "通过刷新和关闭所有处理程序来通知日志记录系统执行有序停止。 此函数应当在应用退出时被调用并且在此调用之后不应再使用日志记录系统。"
19731973

19741974
#: ../../library/logging.rst:1219
19751975
msgid ""
19761976
"When the logging module is imported, it registers this function as an exit "
19771977
"handler (see :mod:`atexit`), so normally there's no need to do that "
19781978
"manually."
1979-
msgstr ""
1979+
msgstr "当 logging 模块被导入时,它会将此函数注册为退出处理程序 (参见 :mod:`atexit`),因此通常不需要手动执行该操作。"
19801980

19811981
#: ../../library/logging.rst:1226
19821982
msgid ""

0 commit comments

Comments
 (0)