translation of c-api/iterator.po
Co-Authored-By: afoures <afoures@macbook.pro>
This commit is contained in:
parent 0cfaf7008d
commit fbcf17ecb4
1 changed files with 19 additions and 9 deletions
| | @ -6,8 +6,8 @@ msgstr "" | |||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-04-02 22:11+0200\n" | ||||
"PO-Revision-Date: 2017-12-13 08:47+0100\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"PO-Revision-Date: 2019-01-21 13:58+0100\n" | ||||
"Last-Translator: ANTOINE FOURES <afoures@student.42.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
| | @ -26,11 +26,11 @@ msgid "" | |||
"sentinel value, calling the callable for each item in the sequence, and " | ||||
"ending the iteration when the sentinel value is returned." | ||||
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." | ||||
"Python fournit deux itérateurs d'usage générique. 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, l'appelable permet d'obtenir chaque élément de la " | ||||
"séquence, et l'itération se termine lorsque la sentinelle est atteinte." | ||||
| ||||
#: ../Doc/c-api/iterator.rst:17 | ||||
msgid "" | ||||
| | @ -38,10 +38,12 @@ msgid "" | |||
"one-argument form of the :func:`iter` built-in function for built-in " | ||||
"sequence types." | ||||
msgstr "" | ||||
"Type de l'itérateur renvoyé par les fonctions :c:func:`PySeqIter_New` et :" | ||||
"func:`iter` à un seul argument." | ||||
| ||||
#: ../Doc/c-api/iterator.rst:24 | ||||
msgid "Return true if the type of *op* is :c:data:`PySeqIter_Type`." | ||||
msgstr "" | ||||
msgstr "Renvoie vrai si *op* est de type :c:data:`PySeqIter_Type`." | ||||
| ||||
#: ../Doc/c-api/iterator.rst:29 | ||||
msgid "" | ||||
| | @ -49,16 +51,20 @@ msgid "" | |||
"iteration ends when the sequence raises :exc:`IndexError` for the " | ||||
"subscripting operation." | ||||
msgstr "" | ||||
"Renvoie un itérateur de séquence *seq*. L'itération prend fin lorsque la " | ||||
"séquence lève :exc:`IndexError` lors d'une tentative d'accès." | ||||
| ||||
#: ../Doc/c-api/iterator.rst:36 | ||||
msgid "" | ||||
"Type object for iterator objects returned by :c:func:`PyCallIter_New` and " | ||||
"the two-argument form of the :func:`iter` built-in function." | ||||
msgstr "" | ||||
"Type de l'itérateur renvoyé par les fonctions :c:func:`PyCallIter_New` et :" | ||||
"func:`iter` à deux arguments." | ||||
| ||||
#: ../Doc/c-api/iterator.rst:42 | ||||
msgid "Return true if the type of *op* is :c:data:`PyCallIter_Type`." | ||||
msgstr "" | ||||
msgstr "Renvoie vrai si *op* est de type :c:data:`PyCallIter_Type`." | ||||
| ||||
#: ../Doc/c-api/iterator.rst:47 | ||||
msgid "" | ||||
| | @ -67,3 +73,7 @@ msgid "" | |||
"should return the next item in the iteration. When *callable* returns a " | ||||
"value equal to *sentinel*, the iteration will be terminated." | ||||
msgstr "" | ||||
"Renvoie un nouvel itérateur. Le premier paramètre, *callable*, peut être " | ||||
"n'importe quel objet Python appelable sans aucun paramètre ; chaque appel " | ||||
"doit renvoyer l'élément suivant de l'itération. Lorsque *callable* renvoie " | ||||
"une valeur égale à *sentinel*, l'itération prend fin." | ||||
| | | |||
Loading…
Add table
Add a link
Reference in a new issue