5
5
msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
- "POT-Creation-Date : 2020-10-01 16:00+0200 \n "
8
+ "POT-Creation-Date : 2020-12-17 16:05+0100 \n "
9
9
"PO-Revision-Date : 2018-02-15 00:33+0100\n "
10
10
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
11
11
"
Language-Team :
FRENCH <[email protected] >\n "
@@ -184,11 +184,12 @@ msgstr ""
184
184
185
185
#: c-api/type.rst:158
186
186
msgid ""
187
- "If *bases* is ``NULL``, the *Py_tp_base* slot is used instead. If that also "
188
- "is ``NULL``, the new type derives from :class:`object`."
187
+ "If *bases* is ``NULL``, the *Py_tp_bases* slot is used instead. If that also "
188
+ "is ``NULL``, the *Py_tp_base* slot is used instead. If that also is "
189
+ "``NULL``, the new type derives from :class:`object`."
189
190
msgstr ""
190
191
191
- #: c-api/type.rst:161
192
+ #: c-api/type.rst:162
192
193
msgid ""
193
194
"The *module* argument can be used to record the module in which the new "
194
195
"class is defined. It must be a module object or ``NULL``. If not ``NULL``, "
@@ -197,157 +198,157 @@ msgid ""
197
198
"subclasses; it must be specified for each class individually."
198
199
msgstr ""
199
200
200
- #: c-api/type.rst:168
201
+ #: c-api/type.rst:169
201
202
msgid "This function calls :c:func:`PyType_Ready` on the new type."
202
203
msgstr ""
203
204
204
- #: c-api/type.rst:174
205
+ #: c-api/type.rst:175
205
206
msgid "Equivalent to ``PyType_FromModuleAndSpec(NULL, spec, bases)``."
206
207
msgstr ""
207
208
208
- #: c-api/type.rst:180
209
+ #: c-api/type.rst:181
209
210
msgid "Equivalent to ``PyType_FromSpecWithBases(spec, NULL)``."
210
211
msgstr ""
211
212
212
- #: c-api/type.rst:184
213
+ #: c-api/type.rst:185
213
214
msgid "Structure defining a type's behavior."
214
215
msgstr ""
215
216
216
- #: c-api/type.rst:188
217
+ #: c-api/type.rst:189
217
218
msgid "Name of the type, used to set :c:member:`PyTypeObject.tp_name`."
218
219
msgstr ""
219
220
220
- #: c-api/type.rst:193
221
+ #: c-api/type.rst:194
221
222
msgid ""
222
223
"Size of the instance in bytes, used to set :c:member:`PyTypeObject."
223
224
"tp_basicsize` and :c:member:`PyTypeObject.tp_itemsize`."
224
225
msgstr ""
225
226
226
- #: c-api/type.rst:199
227
+ #: c-api/type.rst:200
227
228
msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`."
228
229
msgstr ""
229
230
230
- #: c-api/type.rst:201
231
+ #: c-api/type.rst:202
231
232
msgid ""
232
233
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
233
234
"`PyType_FromSpecWithBases` sets it automatically."
234
235
msgstr ""
235
236
236
- #: c-api/type.rst:206
237
+ #: c-api/type.rst:207
237
238
msgid ""
238
239
"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot "
239
240
"value ``{0, NULL}``."
240
241
msgstr ""
241
242
242
- #: c-api/type.rst:211
243
+ #: c-api/type.rst:212
243
244
msgid ""
244
245
"Structure defining optional functionality of a type, containing a slot ID "
245
246
"and a value pointer."
246
247
msgstr ""
247
248
248
- #: c-api/type.rst:216
249
+ #: c-api/type.rst:217
249
250
msgid "A slot ID."
250
251
msgstr ""
251
252
252
- #: c-api/type.rst:218
253
+ #: c-api/type.rst:219
253
254
msgid ""
254
255
"Slot IDs are named like the field names of the structures :c:type:"
255
256
"`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:"
256
257
"type:`PyMappingMethods` and :c:type:`PyAsyncMethods` with an added ``Py_`` "
257
258
"prefix. For example, use:"
258
259
msgstr ""
259
260
260
- #: c-api/type.rst:224
261
+ #: c-api/type.rst:225
261
262
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
262
263
msgstr ""
263
264
264
- #: c-api/type.rst:225
265
+ #: c-api/type.rst:226
265
266
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
266
267
msgstr ""
267
268
268
- #: c-api/type.rst:226
269
+ #: c-api/type.rst:227
269
270
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
270
271
msgstr ""
271
272
272
- #: c-api/type.rst:228
273
+ #: c-api/type.rst:229
273
274
msgid ""
274
275
"The following fields cannot be set at all using :c:type:`PyType_Spec` and :c:"
275
276
"type:`PyType_Slot`:"
276
277
msgstr ""
277
278
278
- #: c-api/type.rst:231
279
+ #: c-api/type.rst:232
279
280
msgid ":c:member:`~PyTypeObject.tp_dict`"
280
281
msgstr ""
281
282
282
- #: c-api/type.rst:232
283
+ #: c-api/type.rst:233
283
284
msgid ":c:member:`~PyTypeObject.tp_mro`"
284
285
msgstr ""
285
286
286
- #: c-api/type.rst:233
287
+ #: c-api/type.rst:234
287
288
msgid ":c:member:`~PyTypeObject.tp_cache`"
288
289
msgstr ""
289
290
290
- #: c-api/type.rst:234
291
+ #: c-api/type.rst:235
291
292
msgid ":c:member:`~PyTypeObject.tp_subclasses`"
292
293
msgstr ""
293
294
294
- #: c-api/type.rst:235
295
+ #: c-api/type.rst:236
295
296
msgid ":c:member:`~PyTypeObject.tp_weaklist`"
296
297
msgstr ""
297
298
298
- #: c-api/type.rst:236
299
+ #: c-api/type.rst:237
299
300
msgid ":c:member:`~PyTypeObject.tp_vectorcall`"
300
301
msgstr ""
301
302
302
- #: c-api/type.rst:237
303
+ #: c-api/type.rst:238
303
304
msgid ""
304
305
":c:member:`~PyTypeObject.tp_weaklistoffset` (see :ref:`PyMemberDef "
305
306
"<pymemberdef-offsets>`)"
306
307
msgstr ""
307
308
308
- #: c-api/type.rst:239
309
+ #: c-api/type.rst:240
309
310
msgid ""
310
311
":c:member:`~PyTypeObject.tp_dictoffset` (see :ref:`PyMemberDef <pymemberdef-"
311
312
"offsets>`)"
312
313
msgstr ""
313
314
314
- #: c-api/type.rst:241
315
+ #: c-api/type.rst:242
315
316
msgid ""
316
317
":c:member:`~PyTypeObject.tp_vectorcall_offset` (see :ref:`PyMemberDef "
317
318
"<pymemberdef-offsets>`)"
318
319
msgstr ""
319
320
320
- #: c-api/type.rst:244
321
+ #: c-api/type.rst:245
321
322
msgid ""
322
323
"The following fields cannot be set using :c:type:`PyType_Spec` and :c:type:"
323
324
"`PyType_Slot` under the limited API:"
324
325
msgstr ""
325
326
326
- #: c-api/type.rst:247
327
+ #: c-api/type.rst:248
327
328
msgid ":c:member:`~PyBufferProcs.bf_getbuffer`"
328
329
msgstr ""
329
330
330
- #: c-api/type.rst:248
331
+ #: c-api/type.rst:249
331
332
msgid ":c:member:`~PyBufferProcs.bf_releasebuffer`"
332
333
msgstr ""
333
334
334
- #: c-api/type.rst:250
335
+ #: c-api/type.rst:251
335
336
msgid ""
336
- "Setting :c:data:`Py_tp_bases` may be problematic on some platforms. To avoid "
337
- "issues, use the *bases* argument of :py:func:`PyType_FromSpecWithBases` "
338
- "instead."
337
+ "Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
338
+ "some platforms. To avoid issues, use the *bases* argument of :py:func:"
339
+ "`PyType_FromSpecWithBases` instead."
339
340
msgstr ""
340
341
341
- #: c-api/type.rst:256
342
+ #: c-api/type.rst:258
342
343
msgid "Slots in :c:type:`PyBufferProcs` in may be set in the unlimited API."
343
344
msgstr ""
344
345
345
- #: c-api/type.rst:260
346
+ #: c-api/type.rst:262
346
347
msgid ""
347
348
"The desired value of the slot. In most cases, this is a pointer to a "
348
349
"function."
349
350
msgstr ""
350
351
351
- #: c-api/type.rst:263
352
+ #: c-api/type.rst:265
352
353
msgid "May not be ``NULL``."
353
354
msgstr ""
0 commit comments