python-docs-fr/c-api/iter.po
Julien Palard 17d5f9cebe
Make merge (#1695)
* Make merge

* FIX: spelling for pospell.

* Uniformisation des entêtes po.
2021-09-24 10:20:01 +02:00

85 lines
2.7 KiB
Plaintext

# Copyright (C) 2001-2018, Python Software Foundation
# For licence information, see README file.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-23 16:16+0200\n"
"PO-Revision-Date: 2018-02-15 00:33+0100\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: c-api/iter.rst:6
msgid "Iterator Protocol"
msgstr "Protocole d'itération"
#: c-api/iter.rst:8
msgid "There are two functions specifically for working with iterators."
msgstr "Il existe deux fonctions dédiées à l'interaction avec les itérateurs."
#: c-api/iter.rst:12
#, fuzzy
msgid ""
"Return non-zero if the object *o* supports the iterator protocol, and ``0`` "
"otherwise. This function always succeeds."
msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
#: c-api/iter.rst:17
#, fuzzy
msgid ""
"Returns non-zero if the object 'obj' provides :class:`AsyncIterator` "
"protocols, and ``0`` otherwise. This function always succeeds."
msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
#: c-api/iter.rst:24
#, fuzzy
msgid ""
"Return the next value from the iteration *o*. The object must be an "
"iterator (it is up to the caller to check this). If there are no remaining "
"values, returns ``NULL`` with no exception set. If an error occurs while "
"retrieving the item, returns ``NULL`` and passes along the exception."
msgstr ""
"Renvoie la valeur suivante d'une itération de *o*. L'objet doit être un "
"itérateur (c'est à l'appelant de faire cette vérification). Renvoie *NULL* "
"s'il n'y a plus de valeurs, sans déclarer d'exception. Renvoie *NULL* en "
"déclarant une exception si une erreur survient lors de la récupération d'un "
"élément."
#: c-api/iter.rst:29
msgid ""
"To write a loop which iterates over an iterator, the C code should look "
"something like this::"
msgstr ""
"Pour écrire une boucle itérant un itérateur, le code C devrait ressembler "
"à ::"
#: c-api/iter.rst:58
msgid ""
"The enum value used to represent different results of :c:func:`PyIter_Send`."
msgstr ""
#: c-api/iter.rst:65
msgid "Sends the *arg* value into the iterator *iter*. Returns:"
msgstr ""
#: c-api/iter.rst:67
msgid ""
"``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*."
msgstr ""
#: c-api/iter.rst:68
msgid ""
"``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
msgstr ""
#: c-api/iter.rst:69
msgid ""
"``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to "
"``NULL``."
msgstr ""