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

Skip to content

Commit f4d6a1f

Browse files
[po] auto sync
1 parent a73fbd8 commit f4d6a1f

19 files changed

Lines changed: 977 additions & 921 deletions

c-api/type.po

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.9\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2020-09-05 04:00+0000\n"
16+
"POT-Creation-Date: 2020-12-21 04:56+0000\n"
1717
"PO-Revision-Date: 2017-02-16 17:39+0000\n"
1818
"Last-Translator: Jo Jiang <[email protected]>, 2020\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -194,11 +194,12 @@ msgstr ""
194194

195195
#: ../../c-api/type.rst:158
196196
msgid ""
197-
"If *bases* is ``NULL``, the *Py_tp_base* slot is used instead. If that also "
198-
"is ``NULL``, the new type derives from :class:`object`."
197+
"If *bases* is ``NULL``, the *Py_tp_bases* slot is used instead. If that also"
198+
" is ``NULL``, the *Py_tp_base* slot is used instead. If that also is "
199+
"``NULL``, the new type derives from :class:`object`."
199200
msgstr ""
200201

201-
#: ../../c-api/type.rst:161
202+
#: ../../c-api/type.rst:162
202203
msgid ""
203204
"The *module* argument can be used to record the module in which the new "
204205
"class is defined. It must be a module object or ``NULL``. If not ``NULL``, "
@@ -207,158 +208,158 @@ msgid ""
207208
"subclasses; it must be specified for each class individually."
208209
msgstr ""
209210

210-
#: ../../c-api/type.rst:168
211+
#: ../../c-api/type.rst:169
211212
msgid "This function calls :c:func:`PyType_Ready` on the new type."
212213
msgstr ""
213214

214-
#: ../../c-api/type.rst:174
215+
#: ../../c-api/type.rst:175
215216
msgid "Equivalent to ``PyType_FromModuleAndSpec(NULL, spec, bases)``."
216217
msgstr ""
217218

218-
#: ../../c-api/type.rst:180
219+
#: ../../c-api/type.rst:181
219220
msgid "Equivalent to ``PyType_FromSpecWithBases(spec, NULL)``."
220221
msgstr ""
221222

222-
#: ../../c-api/type.rst:184
223+
#: ../../c-api/type.rst:185
223224
msgid "Structure defining a type's behavior."
224225
msgstr ""
225226

226-
#: ../../c-api/type.rst:188
227+
#: ../../c-api/type.rst:189
227228
msgid "Name of the type, used to set :c:member:`PyTypeObject.tp_name`."
228229
msgstr ""
229230

230-
#: ../../c-api/type.rst:193
231+
#: ../../c-api/type.rst:194
231232
msgid ""
232233
"Size of the instance in bytes, used to set "
233234
":c:member:`PyTypeObject.tp_basicsize` and "
234235
":c:member:`PyTypeObject.tp_itemsize`."
235236
msgstr ""
236237

237-
#: ../../c-api/type.rst:199
238+
#: ../../c-api/type.rst:200
238239
msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`."
239240
msgstr ""
240241

241-
#: ../../c-api/type.rst:201
242+
#: ../../c-api/type.rst:202
242243
msgid ""
243244
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, "
244245
":c:func:`PyType_FromSpecWithBases` sets it automatically."
245246
msgstr ""
246247

247-
#: ../../c-api/type.rst:206
248+
#: ../../c-api/type.rst:207
248249
msgid ""
249250
"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot "
250251
"value ``{0, NULL}``."
251252
msgstr ""
252253

253-
#: ../../c-api/type.rst:211
254+
#: ../../c-api/type.rst:212
254255
msgid ""
255256
"Structure defining optional functionality of a type, containing a slot ID "
256257
"and a value pointer."
257258
msgstr ""
258259

259-
#: ../../c-api/type.rst:216
260+
#: ../../c-api/type.rst:217
260261
msgid "A slot ID."
261262
msgstr ""
262263

263-
#: ../../c-api/type.rst:218
264+
#: ../../c-api/type.rst:219
264265
msgid ""
265266
"Slot IDs are named like the field names of the structures "
266267
":c:type:`PyTypeObject`, :c:type:`PyNumberMethods`, "
267268
":c:type:`PySequenceMethods`, :c:type:`PyMappingMethods` and "
268269
":c:type:`PyAsyncMethods` with an added ``Py_`` prefix. For example, use:"
269270
msgstr ""
270271

271-
#: ../../c-api/type.rst:224
272+
#: ../../c-api/type.rst:225
272273
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
273274
msgstr ""
274275

275-
#: ../../c-api/type.rst:225
276+
#: ../../c-api/type.rst:226
276277
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
277278
msgstr ""
278279

279-
#: ../../c-api/type.rst:226
280+
#: ../../c-api/type.rst:227
280281
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
281282
msgstr ""
282283

283-
#: ../../c-api/type.rst:228
284+
#: ../../c-api/type.rst:229
284285
msgid ""
285286
"The following fields cannot be set at all using :c:type:`PyType_Spec` and "
286287
":c:type:`PyType_Slot`:"
287288
msgstr ""
288289

289-
#: ../../c-api/type.rst:231
290+
#: ../../c-api/type.rst:232
290291
msgid ":c:member:`~PyTypeObject.tp_dict`"
291292
msgstr ":c:member:`~PyTypeObject.tp_dict`"
292293

293-
#: ../../c-api/type.rst:232
294+
#: ../../c-api/type.rst:233
294295
msgid ":c:member:`~PyTypeObject.tp_mro`"
295296
msgstr ""
296297

297-
#: ../../c-api/type.rst:233
298+
#: ../../c-api/type.rst:234
298299
msgid ":c:member:`~PyTypeObject.tp_cache`"
299300
msgstr ""
300301

301-
#: ../../c-api/type.rst:234
302+
#: ../../c-api/type.rst:235
302303
msgid ":c:member:`~PyTypeObject.tp_subclasses`"
303304
msgstr ""
304305

305-
#: ../../c-api/type.rst:235
306+
#: ../../c-api/type.rst:236
306307
msgid ":c:member:`~PyTypeObject.tp_weaklist`"
307308
msgstr ""
308309

309-
#: ../../c-api/type.rst:236
310+
#: ../../c-api/type.rst:237
310311
msgid ":c:member:`~PyTypeObject.tp_vectorcall`"
311312
msgstr ""
312313

313-
#: ../../c-api/type.rst:237
314+
#: ../../c-api/type.rst:238
314315
msgid ""
315316
":c:member:`~PyTypeObject.tp_weaklistoffset` (see :ref:`PyMemberDef "
316317
"<pymemberdef-offsets>`)"
317318
msgstr ""
318319

319-
#: ../../c-api/type.rst:239
320+
#: ../../c-api/type.rst:240
320321
msgid ""
321322
":c:member:`~PyTypeObject.tp_dictoffset` (see :ref:`PyMemberDef <pymemberdef-"
322323
"offsets>`)"
323324
msgstr ""
324325

325-
#: ../../c-api/type.rst:241
326+
#: ../../c-api/type.rst:242
326327
msgid ""
327328
":c:member:`~PyTypeObject.tp_vectorcall_offset` (see :ref:`PyMemberDef "
328329
"<pymemberdef-offsets>`)"
329330
msgstr ""
330331

331-
#: ../../c-api/type.rst:244
332+
#: ../../c-api/type.rst:245
332333
msgid ""
333334
"The following fields cannot be set using :c:type:`PyType_Spec` and "
334335
":c:type:`PyType_Slot` under the limited API:"
335336
msgstr ""
336337

337-
#: ../../c-api/type.rst:247
338+
#: ../../c-api/type.rst:248
338339
msgid ":c:member:`~PyBufferProcs.bf_getbuffer`"
339340
msgstr ":c:member:`~PyBufferProcs.bf_getbuffer`"
340341

341-
#: ../../c-api/type.rst:248
342+
#: ../../c-api/type.rst:249
342343
msgid ":c:member:`~PyBufferProcs.bf_releasebuffer`"
343344
msgstr ":c:member:`~PyBufferProcs.bf_releasebuffer`"
344345

345-
#: ../../c-api/type.rst:250
346+
#: ../../c-api/type.rst:251
346347
msgid ""
347-
"Setting :c:data:`Py_tp_bases` may be problematic on some platforms. To avoid"
348-
" issues, use the *bases* argument of :py:func:`PyType_FromSpecWithBases` "
349-
"instead."
348+
"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
349+
"some platforms. To avoid issues, use the *bases* argument of "
350+
":py:func:`PyType_FromSpecWithBases` instead."
350351
msgstr ""
351352

352-
#: ../../c-api/type.rst:256
353+
#: ../../c-api/type.rst:258
353354
msgid "Slots in :c:type:`PyBufferProcs` in may be set in the unlimited API."
354355
msgstr ""
355356

356-
#: ../../c-api/type.rst:260
357+
#: ../../c-api/type.rst:262
357358
msgid ""
358359
"The desired value of the slot. In most cases, this is a pointer to a "
359360
"function."
360361
msgstr ""
361362

362-
#: ../../c-api/type.rst:263
363+
#: ../../c-api/type.rst:265
363364
msgid "May not be ``NULL``."
364365
msgstr ""

0 commit comments

Comments
 (0)