55msgstr ""
66"Project-Id-Version : Python 3\n "
77"Report-Msgid-Bugs-To : \n "
8- "POT-Creation-Date : 2021-09-23 16:16+0200 \n "
8+ "POT-Creation-Date : 2021-11-27 10:27+0100 \n "
99"PO-Revision-Date : 2018-02-15 00:33+0100\n "
1010"Last-Translator : Julien Palard <julien@palard.fr>\n "
1111"Language-Team : FRENCH <traductions@lists.afpy.org>\n "
@@ -25,8 +25,8 @@ msgstr "Il existe deux fonctions dédiées à l'interaction avec les itérateurs
2525#: c-api/iter.rst:12
2626#, fuzzy
2727msgid ""
28- "Return non-zero if the object *o* supports the iterator protocol, and ``0`` "
29- "otherwise. This function always succeeds."
28+ "Return non-zero if the object *o* can be safely passed to :c:func: "
29+ "`PyIter_Next`, and ``0`` otherwise. This function always succeeds."
3030msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
3131
3232#: c-api/iter.rst:17
@@ -39,45 +39,46 @@ msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
3939#: c-api/iter.rst:24
4040#, fuzzy
4141msgid ""
42- "Return the next value from the iteration *o*. The object must be an "
43- "iterator (it is up to the caller to check this). If there are no remaining "
44- "values, returns ``NULL`` with no exception set. If an error occurs while "
45- "retrieving the item, returns ``NULL`` and passes along the exception."
42+ "Return the next value from the iterator *o*. The object must be an iterator "
43+ "according to :c:func:`PyIter_Check` (it is up to the caller to check this). "
44+ "If there are no remaining values, returns ``NULL`` with no exception set. If "
45+ "an error occurs while retrieving the item, returns ``NULL`` and passes along "
46+ "the exception."
4647msgstr ""
4748"Renvoie la valeur suivante d'une itération de *o*. L'objet doit être un "
4849"itérateur (c'est à l'appelant de faire cette vérification). Renvoie *NULL* "
4950"s'il n'y a plus de valeurs, sans déclarer d'exception. Renvoie *NULL* en "
5051"déclarant une exception si une erreur survient lors de la récupération d'un "
5152"élément."
5253
53- #: c-api/iter.rst:29
54+ #: c-api/iter.rst:30
5455msgid ""
5556"To write a loop which iterates over an iterator, the C code should look "
5657"something like this::"
5758msgstr ""
5859"Pour écrire une boucle itérant un itérateur, le code C devrait ressembler "
5960"à ::"
6061
61- #: c-api/iter.rst:58
62+ #: c-api/iter.rst:59
6263msgid ""
6364"The enum value used to represent different results of :c:func:`PyIter_Send`."
6465msgstr ""
6566
66- #: c-api/iter.rst:65
67+ #: c-api/iter.rst:66
6768msgid "Sends the *arg* value into the iterator *iter*. Returns:"
6869msgstr ""
6970
70- #: c-api/iter.rst:67
71+ #: c-api/iter.rst:68
7172msgid ""
7273"``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*."
7374msgstr ""
7475
75- #: c-api/iter.rst:68
76+ #: c-api/iter.rst:69
7677msgid ""
7778"``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
7879msgstr ""
7980
80- #: c-api/iter.rst:69
81+ #: c-api/iter.rst:70
8182msgid ""
8283"``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to "
8384"``NULL``."
0 commit comments