@@ -6,14 +6,14 @@ msgstr ""
6
6
"Project-Id-Version : Python 3.6\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
8
"POT-Creation-Date : 2019-10-09 17:54+0200\n "
9
- "PO-Revision-Date : 2019-06-19 21:54+0200 \n "
9
+ "PO-Revision-Date : 2019-10-30 00:03+0100 \n "
10
10
"
Last-Translator :
Julien Palard <[email protected] >\n "
11
11
"
Language-Team :
FRENCH <[email protected] >\n "
12
12
"Language : fr\n "
13
13
"MIME-Version : 1.0\n "
14
14
"Content-Type : text/plain; charset=UTF-8\n "
15
15
"Content-Transfer-Encoding : 8bit\n "
16
- "X-Generator : Poedit 2.0.4 \n "
16
+ "X-Generator : Poedit 2.2.3 \n "
17
17
18
18
#: ../Doc/extending/extending.rst:8
19
19
msgid "Extending Python with C or C++"
@@ -135,6 +135,9 @@ msgid ""
135
135
"It is recommended to always define ``PY_SSIZE_T_CLEAN`` before including "
136
136
"``Python.h``. See :ref:`parsetuple` for a description of this macro."
137
137
msgstr ""
138
+ "Il est recommandé de toujours définir ``PY_SSIZE_T_CLEAN`` avant d'inclure "
139
+ "``Python.h``. Lisez :ref:`parsetuple` pour avoir une description de cette "
140
+ "macro."
138
141
139
142
#: ../Doc/extending/extending.rst:75
140
143
msgid ""
@@ -430,14 +433,12 @@ msgstr ""
430
433
"cela, déclarez simplement une variable statique au début de votre fichier ::"
431
434
432
435
#: ../Doc/extending/extending.rst:211
433
- #, fuzzy
434
436
msgid ""
435
437
"and initialize it in your module's initialization function (:c:func:"
436
438
"`PyInit_spam`) with an exception object::"
437
439
msgstr ""
438
440
"et initialisez-la dans la fonction d'initialisation de votre module (:c:func:"
439
- "`PyInit_spam`) avec un objet exception (Passons, pour le moment, la "
440
- "vérification des codes d'erreur) ::"
441
+ "`PyInit_spam`) avec un objet exception ::"
441
442
442
443
#: ../Doc/extending/extending.rst:235
443
444
msgid ""
@@ -567,13 +568,16 @@ msgstr ""
567
568
568
569
#: ../Doc/extending/extending.rst:318
569
570
msgid "The Module's Method Table and Initialization Function"
570
- msgstr ""
571
+ msgstr "La fonction d'initialisation et le tableau des méthodes du module "
571
572
572
573
#: ../Doc/extending/extending.rst:320
573
574
msgid ""
574
575
"I promised to show how :c:func:`spam_system` is called from Python programs. "
575
576
"First, we need to list its name and address in a \" method table\" ::"
576
577
msgstr ""
578
+ "Nous avons promis de montrer comment :c:func:`spam_system` est appelée "
579
+ "depuis les programmes Python. D'abord, nous avons besoin d'avoir son nom et "
580
+ "son adresse dans un « tableau des méthodes » ::"
577
581
578
582
#: ../Doc/extending/extending.rst:331
579
583
msgid ""
@@ -583,13 +587,22 @@ msgid ""
583
587
"value of ``0`` means that an obsolete variant of :c:func:`PyArg_ParseTuple` "
584
588
"is used."
585
589
msgstr ""
590
+ "Notez la troisième entrée (``METH_VARARGS``). C'est un indicateur du type de "
591
+ "convention à utiliser pour la fonction C, à destination de l'interpréteur. "
592
+ "Il doit valoir normalement ``METH_VARARGS`` ou ``METH_VARARGS | "
593
+ "METH_KEYWORDS`` ; la valeur ``0`` indique qu'une variante obsolète de :c:"
594
+ "func:`PyArg_ParseTuple` est utilisée."
586
595
587
596
#: ../Doc/extending/extending.rst:336
588
597
msgid ""
589
598
"When using only ``METH_VARARGS``, the function should expect the Python-"
590
599
"level parameters to be passed in as a tuple acceptable for parsing via :c:"
591
600
"func:`PyArg_ParseTuple`; more information on this function is provided below."
592
601
msgstr ""
602
+ "Si seulement ``METH_VARARGS`` est utilisé, la fonction s'attend à ce que les "
603
+ "paramètres Python soient passés comme un n-uplet que l'on peut analyser "
604
+ "*via* :c:func:`PyArg_ParseTuple` ; des informations supplémentaires sont "
605
+ "fournies plus bas."
593
606
594
607
#: ../Doc/extending/extending.rst:340
595
608
msgid ""
@@ -599,11 +612,18 @@ msgid ""
599
612
"keywords. Use :c:func:`PyArg_ParseTupleAndKeywords` to parse the arguments "
600
613
"to such a function."
601
614
msgstr ""
615
+ "Le bit :const:`METH_KEYWORDS` peut être mis à un dans le troisième champ si "
616
+ "des arguments par mot-clés doivent être passés à la fonction. Dans ce cas, "
617
+ "la fonction C doit accepter un troisième paramètre ``PyObject *`` qui est un "
618
+ "dictionnaire des mots-clés. Utilisez :c:func:`PyArg_ParseTupleAndKeywords` "
619
+ "pour analyser les arguments d'une telle fonction."
602
620
603
621
#: ../Doc/extending/extending.rst:346
604
622
msgid ""
605
623
"The method table must be referenced in the module definition structure::"
606
624
msgstr ""
625
+ "Le tableau des méthodes doit être référencé dans la structure de définition "
626
+ "du module ::"
607
627
608
628
#: ../Doc/extending/extending.rst:357
609
629
msgid ""
0 commit comments