5
5
msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"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 "
9
9
"PO-Revision-Date : 2018-02-15 00:33+0100\n "
10
10
"
Last-Translator :
Julien Palard <[email protected] >\n "
11
11
"
Language-Team :
FRENCH <[email protected] >\n "
@@ -25,8 +25,8 @@ msgstr "Il existe deux fonctions dédiées à l'interaction avec les itérateurs
25
25
#: c-api/iter.rst:12
26
26
#, fuzzy
27
27
msgid ""
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."
30
30
msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
31
31
32
32
#: c-api/iter.rst:17
@@ -39,45 +39,46 @@ msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
39
39
#: c-api/iter.rst:24
40
40
#, fuzzy
41
41
msgid ""
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."
46
47
msgstr ""
47
48
"Renvoie la valeur suivante d'une itération de *o*. L'objet doit être un "
48
49
"itérateur (c'est à l'appelant de faire cette vérification). Renvoie *NULL* "
49
50
"s'il n'y a plus de valeurs, sans déclarer d'exception. Renvoie *NULL* en "
50
51
"déclarant une exception si une erreur survient lors de la récupération d'un "
51
52
"élément."
52
53
53
- #: c-api/iter.rst:29
54
+ #: c-api/iter.rst:30
54
55
msgid ""
55
56
"To write a loop which iterates over an iterator, the C code should look "
56
57
"something like this::"
57
58
msgstr ""
58
59
"Pour écrire une boucle itérant un itérateur, le code C devrait ressembler "
59
60
"à ::"
60
61
61
- #: c-api/iter.rst:58
62
+ #: c-api/iter.rst:59
62
63
msgid ""
63
64
"The enum value used to represent different results of :c:func:`PyIter_Send`."
64
65
msgstr ""
65
66
66
- #: c-api/iter.rst:65
67
+ #: c-api/iter.rst:66
67
68
msgid "Sends the *arg* value into the iterator *iter*. Returns:"
68
69
msgstr ""
69
70
70
- #: c-api/iter.rst:67
71
+ #: c-api/iter.rst:68
71
72
msgid ""
72
73
"``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*."
73
74
msgstr ""
74
75
75
- #: c-api/iter.rst:68
76
+ #: c-api/iter.rst:69
76
77
msgid ""
77
78
"``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
78
79
msgstr ""
79
80
80
- #: c-api/iter.rst:69
81
+ #: c-api/iter.rst:70
81
82
msgid ""
82
83
"``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to "
83
84
"``NULL``."
0 commit comments