c-api/iterator: Done.

This commit is contained in:
Julien Palard 2017-12-14 08:49:22 +01:00
parent e9b16ab4f5
commit e850dc3dc7

View File

@ -9,8 +9,8 @@ msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n" "POT-Creation-Date: 2017-04-02 22:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2017-12-13 08:47+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -19,7 +19,7 @@ msgstr ""
#: ../Doc/c-api/iterator.rst:6 #: ../Doc/c-api/iterator.rst:6
msgid "Iterator Objects" msgid "Iterator Objects"
msgstr "" msgstr "Itérateurs"
#: ../Doc/c-api/iterator.rst:8 #: ../Doc/c-api/iterator.rst:8
msgid "" msgid ""
@ -29,6 +29,11 @@ msgid ""
"sentinel value, calling the callable for each item in the sequence, and " "sentinel value, calling the callable for each item in the sequence, and "
"ending the iteration when the sentinel value is returned." "ending the iteration when the sentinel value is returned."
msgstr "" msgstr ""
"Python fournit deux itérateurs génériques. Le premier est un itérateur de "
"séquence, il fonctionne avec n'importe quelle séquence gérant la méthode :"
"meth:`__getitem__`. Le second fonctionne avec un objet appelable et une "
"valeur sentinelle, il appelle l'appelable pour obtenir chaque élément de la "
"séquence, et l'itération se termine lorsque la sentinelle est reçue."
#: ../Doc/c-api/iterator.rst:17 #: ../Doc/c-api/iterator.rst:17
msgid "" msgid ""