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 ""
|
2019-12-05 22:15:54 +00:00
|
|
|
"Project-Id-Version: Python 3\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
"Report-Msgid-Bugs-To: \n"
|
2019-12-30 19:02:56 +00:00
|
|
|
"POT-Creation-Date: 2018-12-21 09:48+0100\n"
|
|
|
|
"PO-Revision-Date: 2019-11-17 21:20+0100\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"
|
2019-12-30 19:02:56 +00:00
|
|
|
"Last-Translator: Aveheuzed <a.masson555@ntymail.com>\n"
|
|
|
|
"X-Generator: Poedit 2.2.4\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
#: ../Doc/c-api/mapping.rst:6
|
|
|
|
msgid "Mapping Protocol"
|
2019-12-30 19:02:56 +00:00
|
|
|
msgstr "Protocole de correspondance"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2018-06-10 09:32:30 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:8
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-10 09:32:30 +00:00
|
|
|
"See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and :c:func:"
|
|
|
|
"`PyObject_DelItem`."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Voir aussi :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` et :c:func:"
|
|
|
|
"`PyObject_DelItem`."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-30 19:02:56 +00:00
|
|
|
# - " in general case it is impossible to determine what the type of keys it supports."
|
|
|
|
# → pas correct en VO !
|
|
|
|
# - "This function always succeeds." équivaut-il à "jamais d'erreur" ?
|
2018-06-10 09:32:30 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:14
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-10 09:32:30 +00:00
|
|
|
"Return ``1`` if the object provides mapping protocol or supports slicing, "
|
|
|
|
"and ``0`` otherwise. Note that it returns ``1`` for Python classes with a :"
|
|
|
|
"meth:`__getitem__` method since in general case it is impossible to "
|
2019-12-05 22:41:32 +00:00
|
|
|
"determine what type of keys it supports. This function always succeeds."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Renvoie ``1`` si l'objet prend en charge le protocole de correspondance ou "
|
|
|
|
"le découpage en tranches et ``0`` sinon. Notez qu'elle renvoie ``1`` pour "
|
|
|
|
"les classes Python avec une méthode :meth:`__getitem__` puisque, dans le cas "
|
|
|
|
"général, il est impossible de déterminer quel type de clef est pris en "
|
|
|
|
"charge. Cette fonction ne provoque jamais d'erreur."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:25
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-10 09:32:30 +00:00
|
|
|
"Returns the number of keys in object *o* on success, and ``-1`` on failure. "
|
|
|
|
"This is equivalent to the Python expression ``len(o)``."
|
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Renvoie le nombre de clefs dans l'objet *o* et ``-1`` en cas d'échec. C'est "
|
|
|
|
"l'équivalent de l'expression Python ``len(o)``."
|
2018-06-10 09:32:30 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:31
|
2018-06-10 09:32:30 +00:00
|
|
|
msgid ""
|
2019-11-15 22:57:16 +00:00
|
|
|
"Return element of *o* corresponding to the string *key* or ``NULL`` on "
|
2018-06-10 09:32:30 +00:00
|
|
|
"failure. This is the equivalent of the Python expression ``o[key]``. See "
|
|
|
|
"also :c:func:`PyObject_GetItem`."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Renvoie les éléments de *o* qui correspondent à la chaîne *key* ou *NULL* en "
|
|
|
|
"cas d'échec. C'est l'équivalent de l'expression Python ``o[key]``. Voir "
|
|
|
|
"aussi :c:func:`PyObject_GetItem`."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:38
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-10 09:32:30 +00:00
|
|
|
"Map the string *key* to the value *v* in object *o*. Returns ``-1`` on "
|
|
|
|
"failure. This is the equivalent of the Python statement ``o[key] = v``. See "
|
|
|
|
"also :c:func:`PyObject_SetItem`."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Fait correspondre la chaîne *key* à la valeur *v* dans l'objet *o*. Renvoie "
|
|
|
|
"``-1`` en cas d'échec. C'est l'équivalent de la commande Python ``o[key] = "
|
|
|
|
"v``. Voir aussi :c:func:`PyObject_SetItem`."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:45
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-10 09:32:30 +00:00
|
|
|
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
|
|
|
|
"on failure. This is equivalent to the Python statement ``del o[key]``. This "
|
|
|
|
"is an alias of :c:func:`PyObject_DelItem`."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Supprime la correspondance associée à l'objet *key* dans l'objet *o*. "
|
|
|
|
"Renvoie ``-1`` en cas d'échec. C'est l'équivalent de la commande Python "
|
|
|
|
"``del o[key]``. C'est un alias pour :c:func:`PyObject_DelItem`."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:52
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-10 09:32:30 +00:00
|
|
|
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
|
|
|
|
"on failure. This is equivalent to the Python statement ``del o[key]``."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Supprime la correspondance associée à la chaîne *key* dans l'objet *o*. "
|
|
|
|
"Renvoie ``-1`` en cas d'échec. C'est l'équivalent de la commande Python "
|
|
|
|
"``del o[key]``."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:58 ../Doc/c-api/mapping.rst:69
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-10 09:32:30 +00:00
|
|
|
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
|
|
|
|
"This is equivalent to the Python expression ``key in o``. This function "
|
|
|
|
"always succeeds."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Renvoie ``1`` si l'objet de correspondance possède une clef *key* et ``0`` "
|
|
|
|
"sinon. C'est l'équivalent de l'expression Python ``key in o``. Cette "
|
|
|
|
"fonction ne provoque jamais d'erreur."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:62
|
2018-12-24 13:20:55 +00:00
|
|
|
msgid ""
|
|
|
|
"Note that exceptions which occur while calling the :meth:`__getitem__` "
|
|
|
|
"method will get suppressed. To get error reporting use :c:func:"
|
|
|
|
"`PyObject_GetItem()` instead."
|
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Notez que les exceptions qui surviennent pendant l'appel de la méthode :meth:"
|
|
|
|
"`__getitem__` seront supprimées. Pour obtenir le rapport d'erreur, utilisez "
|
|
|
|
"plutôt :c:func:`PyObject_GetItem()`."
|
2018-12-24 13:20:55 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:73
|
2018-12-24 13:20:55 +00:00
|
|
|
msgid ""
|
|
|
|
"Note that exceptions which occur while calling the :meth:`__getitem__` "
|
|
|
|
"method and creating a temporary string object will get suppressed. To get "
|
|
|
|
"error reporting use :c:func:`PyMapping_GetItemString()` instead."
|
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Notez que les exceptions qui surviennent en créant une chaîne de caractères "
|
|
|
|
"temporaire pendant l'appel de la méthode :meth:`__getitem__` seront "
|
|
|
|
"supprimées. Pour obtenir le rapport d'erreur, utilisez plutôt :c:func:"
|
|
|
|
"`PyMapping_GetItemString()`."
|
2018-12-24 13:20:55 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:80
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-28 13:32:56 +00:00
|
|
|
"On success, return a list of the keys in object *o*. On failure, return "
|
2019-11-15 22:57:16 +00:00
|
|
|
"``NULL``."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Renvoie la liste des clefs dans l'objet *o*. En cas d'échec, renvoie *NULL*."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:83 ../Doc/c-api/mapping.rst:92
|
|
|
|
#: ../Doc/c-api/mapping.rst:101
|
2018-06-28 13:32:56 +00:00
|
|
|
msgid "Previously, the function returned a list or a tuple."
|
2019-12-30 19:02:56 +00:00
|
|
|
msgstr "Auparavant, la fonction renvoyait une liste ou un n-uplet."
|
2018-06-28 13:32:56 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:89
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-28 13:32:56 +00:00
|
|
|
"On success, return a list of the values in object *o*. On failure, return "
|
2019-11-15 22:57:16 +00:00
|
|
|
"``NULL``."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Renvoie la liste des valeurs dans l'objet *o*. En cas d'échec, renvoie "
|
|
|
|
"*NULL*."
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2019-12-05 22:41:32 +00:00
|
|
|
#: ../Doc/c-api/mapping.rst:98
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2018-06-28 13:32:56 +00:00
|
|
|
"On success, return a list of the items in object *o*, where each item is a "
|
2019-11-15 22:57:16 +00:00
|
|
|
"tuple containing a key-value pair. On failure, return ``NULL``."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
2019-12-30 19:02:56 +00:00
|
|
|
"Renvoie la liste des éléments dans l'objet *o*, où chaque élément est un n-"
|
|
|
|
"uplet contenant une paire clef-valeur. En cas d'échec, renvoie *NULL*."
|