2018-07-04 09:06:45 +00:00
|
|
|
|
# Copyright (C) 2001-2018, Python Software Foundation
|
2018-07-04 09:08:42 +00:00
|
|
|
|
# For licence information, see README file.
|
2016-10-30 09:46:26 +00:00
|
|
|
|
#
|
|
|
|
|
msgid ""
|
|
|
|
|
msgstr ""
|
|
|
|
|
"Project-Id-Version: Python 3.6\n"
|
|
|
|
|
"Report-Msgid-Bugs-To: \n"
|
2017-04-02 20:14:06 +00:00
|
|
|
|
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
|
2019-03-26 16:19:04 +00:00
|
|
|
|
"PO-Revision-Date: 2019-03-26 17:16+0100\n"
|
2019-03-26 15:57:14 +00:00
|
|
|
|
"Last-Translator: ANTOINE FOURES <afoures@student.42.fr>\n"
|
2018-07-04 09:14:25 +00:00
|
|
|
|
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
2017-05-23 22:40:56 +00:00
|
|
|
|
"Language: fr\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
"MIME-Version: 1.0\n"
|
|
|
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
|
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
|
|
|
|
|
#: ../Doc/c-api/iterator.rst:6
|
|
|
|
|
msgid "Iterator Objects"
|
2017-12-14 07:49:22 +00:00
|
|
|
|
msgstr "Itérateurs"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
|
|
#: ../Doc/c-api/iterator.rst:8
|
|
|
|
|
msgid ""
|
|
|
|
|
"Python provides two general-purpose iterator objects. The first, a sequence "
|
|
|
|
|
"iterator, works with an arbitrary sequence supporting the :meth:"
|
|
|
|
|
"`__getitem__` method. The second works with a callable object and a "
|
|
|
|
|
"sentinel value, calling the callable for each item in the sequence, and "
|
|
|
|
|
"ending the iteration when the sentinel value is returned."
|
|
|
|
|
msgstr ""
|
2019-03-26 15:57:14 +00:00
|
|
|
|
"Python fournit deux itérateurs d'usage générique. Le premier est un "
|
2019-03-26 16:06:33 +00:00
|
|
|
|
"itérateur de séquence, il fonctionne avec n'importe quelle séquence "
|
|
|
|
|
"implémentant 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."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
|
|
#: ../Doc/c-api/iterator.rst:17
|
|
|
|
|
msgid ""
|
|
|
|
|
"Type object for iterator objects returned by :c:func:`PySeqIter_New` and the "
|
|
|
|
|
"one-argument form of the :func:`iter` built-in function for built-in "
|
|
|
|
|
"sequence types."
|
|
|
|
|
msgstr ""
|
2019-03-26 16:06:33 +00:00
|
|
|
|
"Type des itérateurs renvoyés par les fonctions :c:func:`PySeqIter_New` et la "
|
2019-03-26 16:19:04 +00:00
|
|
|
|
"forme à un argument de la fonction native :func:`iter` pour les séquences "
|
2019-03-26 16:06:33 +00:00
|
|
|
|
"natives."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
|
|
#: ../Doc/c-api/iterator.rst:24
|
|
|
|
|
msgid "Return true if the type of *op* is :c:data:`PySeqIter_Type`."
|
2019-03-26 15:57:14 +00:00
|
|
|
|
msgstr "Renvoie vrai si *op* est de type :c:data:`PySeqIter_Type`."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
|
|
#: ../Doc/c-api/iterator.rst:29
|
|
|
|
|
msgid ""
|
|
|
|
|
"Return an iterator that works with a general sequence object, *seq*. The "
|
|
|
|
|
"iteration ends when the sequence raises :exc:`IndexError` for the "
|
|
|
|
|
"subscripting operation."
|
|
|
|
|
msgstr ""
|
2019-03-26 16:06:33 +00:00
|
|
|
|
"Renvoie un itérateur sur la séquence *seq*. L'itération prend fin lorsque la "
|
2019-03-26 15:57:14 +00:00
|
|
|
|
"séquence lève :exc:`IndexError` lors d'une tentative d'accès."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
|
|
#: ../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 ""
|
2019-03-26 15:57:14 +00:00
|
|
|
|
"Type de l'itérateur renvoyé par les fonctions :c:func:`PyCallIter_New` et :"
|
|
|
|
|
"func:`iter` à deux arguments."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
|
|
#: ../Doc/c-api/iterator.rst:42
|
|
|
|
|
msgid "Return true if the type of *op* is :c:data:`PyCallIter_Type`."
|
2019-03-26 15:57:14 +00:00
|
|
|
|
msgstr "Renvoie vrai si *op* est de type :c:data:`PyCallIter_Type`."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
|
|
#: ../Doc/c-api/iterator.rst:47
|
|
|
|
|
msgid ""
|
|
|
|
|
"Return a new iterator. The first parameter, *callable*, can be any Python "
|
|
|
|
|
"callable object that can be called with no parameters; each call to it "
|
|
|
|
|
"should return the next item in the iteration. When *callable* returns a "
|
|
|
|
|
"value equal to *sentinel*, the iteration will be terminated."
|
|
|
|
|
msgstr ""
|
2019-03-26 15:57:14 +00:00
|
|
|
|
"Renvoie un nouvel itérateur. Le premier paramètre, *callable*, peut être "
|
2019-03-26 16:06:33 +00:00
|
|
|
|
"n'importe quel objet Python appelable sans aucun paramètre ; chaque appel "
|
2019-03-26 15:57:14 +00:00
|
|
|
|
"doit renvoyer l'élément suivant de l'itération. Lorsque *callable* renvoie "
|
|
|
|
|
"une valeur égale à *sentinel*, l'itération prend fin."
|