@@ -5,106 +5,146 @@ msgid ""
5
5
msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
- "POT-Creation-Date : 2019-12-05 23:16+0100\n "
9
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
10
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
8
+ "POT-Creation-Date : 2018-12-21 09:48+0100\n "
9
+ "PO-Revision-Date : 2019-11-17 21:20+0100\n "
11
10
"
Language-Team :
FRENCH <[email protected] >\n "
12
11
"Language : fr\n "
13
12
"MIME-Version : 1.0\n "
14
13
"Content-Type : text/plain; charset=UTF-8\n "
15
14
"Content-Transfer-Encoding : 8bit\n "
15
+ "
Last-Translator :
Aveheuzed <[email protected] >\n "
16
+ "X-Generator : Poedit 2.2.4\n "
16
17
17
18
#: ../Doc/c-api/mapping.rst:6
18
19
msgid "Mapping Protocol"
19
- msgstr ""
20
+ msgstr "Protocole de correspondance "
20
21
21
22
#: ../Doc/c-api/mapping.rst:8
22
23
msgid ""
23
24
"See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and :c:func:"
24
25
"`PyObject_DelItem`."
25
26
msgstr ""
27
+ "Voir aussi :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` et :c:func:"
28
+ "`PyObject_DelItem`."
26
29
30
+ # - " in general case it is impossible to determine what the type of keys it supports."
31
+ # → pas correct en VO !
32
+ # - "This function always succeeds." équivaut-il à "jamais d'erreur" ?
27
33
#: ../Doc/c-api/mapping.rst:14
28
34
msgid ""
29
35
"Return ``1`` if the object provides mapping protocol or supports slicing, "
30
36
"and ``0`` otherwise. Note that it returns ``1`` for Python classes with a :"
31
37
"meth:`__getitem__` method since in general case it is impossible to "
32
38
"determine what type of keys it supports. This function always succeeds."
33
39
msgstr ""
40
+ "Renvoie ``1`` si l'objet prend en charge le protocole de correspondance ou "
41
+ "le découpage en tranches et ``0`` sinon. Notez qu'elle renvoie ``1`` pour "
42
+ "les classes Python avec une méthode :meth:`__getitem__` puisque, dans le cas "
43
+ "général, il est impossible de déterminer quel type de clef est pris en "
44
+ "charge. Cette fonction ne provoque jamais d'erreur."
34
45
35
46
#: ../Doc/c-api/mapping.rst:25
36
47
msgid ""
37
48
"Returns the number of keys in object *o* on success, and ``-1`` on failure. "
38
49
"This is equivalent to the Python expression ``len(o)``."
39
50
msgstr ""
51
+ "Renvoie le nombre de clefs dans l'objet *o* et ``-1`` en cas d'échec. C'est "
52
+ "l'équivalent de l'expression Python ``len(o)``."
40
53
41
54
#: ../Doc/c-api/mapping.rst:31
42
55
msgid ""
43
56
"Return element of *o* corresponding to the string *key* or ``NULL`` on "
44
57
"failure. This is the equivalent of the Python expression ``o[key]``. See "
45
58
"also :c:func:`PyObject_GetItem`."
46
59
msgstr ""
60
+ "Renvoie les éléments de *o* qui correspondent à la chaîne *key* ou *NULL* en "
61
+ "cas d'échec. C'est l'équivalent de l'expression Python ``o[key]``. Voir "
62
+ "aussi :c:func:`PyObject_GetItem`."
47
63
48
64
#: ../Doc/c-api/mapping.rst:38
49
65
msgid ""
50
66
"Map the string *key* to the value *v* in object *o*. Returns ``-1`` on "
51
67
"failure. This is the equivalent of the Python statement ``o[key] = v``. See "
52
68
"also :c:func:`PyObject_SetItem`."
53
69
msgstr ""
70
+ "Fait correspondre la chaîne *key* à la valeur *v* dans l'objet *o*. Renvoie "
71
+ "``-1`` en cas d'échec. C'est l'équivalent de la commande Python ``o[key] = "
72
+ "v``. Voir aussi :c:func:`PyObject_SetItem`."
54
73
55
74
#: ../Doc/c-api/mapping.rst:45
56
75
msgid ""
57
76
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
58
77
"on failure. This is equivalent to the Python statement ``del o[key]``. This "
59
78
"is an alias of :c:func:`PyObject_DelItem`."
60
79
msgstr ""
80
+ "Supprime la correspondance associée à l'objet *key* dans l'objet *o*. "
81
+ "Renvoie ``-1`` en cas d'échec. C'est l'équivalent de la commande Python "
82
+ "``del o[key]``. C'est un alias pour :c:func:`PyObject_DelItem`."
61
83
62
84
#: ../Doc/c-api/mapping.rst:52
63
85
msgid ""
64
86
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
65
87
"on failure. This is equivalent to the Python statement ``del o[key]``."
66
88
msgstr ""
89
+ "Supprime la correspondance associée à la chaîne *key* dans l'objet *o*. "
90
+ "Renvoie ``-1`` en cas d'échec. C'est l'équivalent de la commande Python "
91
+ "``del o[key]``."
67
92
68
93
#: ../Doc/c-api/mapping.rst:58 ../Doc/c-api/mapping.rst:69
69
94
msgid ""
70
95
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
71
96
"This is equivalent to the Python expression ``key in o``. This function "
72
97
"always succeeds."
73
98
msgstr ""
99
+ "Renvoie ``1`` si l'objet de correspondance possède une clef *key* et ``0`` "
100
+ "sinon. C'est l'équivalent de l'expression Python ``key in o``. Cette "
101
+ "fonction ne provoque jamais d'erreur."
74
102
75
103
#: ../Doc/c-api/mapping.rst:62
76
104
msgid ""
77
105
"Note that exceptions which occur while calling the :meth:`__getitem__` "
78
106
"method will get suppressed. To get error reporting use :c:func:"
79
107
"`PyObject_GetItem()` instead."
80
108
msgstr ""
109
+ "Notez que les exceptions qui surviennent pendant l'appel de la méthode :meth:"
110
+ "`__getitem__` seront supprimées. Pour obtenir le rapport d'erreur, utilisez "
111
+ "plutôt :c:func:`PyObject_GetItem()`."
81
112
82
113
#: ../Doc/c-api/mapping.rst:73
83
114
msgid ""
84
115
"Note that exceptions which occur while calling the :meth:`__getitem__` "
85
116
"method and creating a temporary string object will get suppressed. To get "
86
117
"error reporting use :c:func:`PyMapping_GetItemString()` instead."
87
118
msgstr ""
119
+ "Notez que les exceptions qui surviennent en créant une chaîne de caractères "
120
+ "temporaire pendant l'appel de la méthode :meth:`__getitem__` seront "
121
+ "supprimées. Pour obtenir le rapport d'erreur, utilisez plutôt :c:func:"
122
+ "`PyMapping_GetItemString()`."
88
123
89
124
#: ../Doc/c-api/mapping.rst:80
90
125
msgid ""
91
126
"On success, return a list of the keys in object *o*. On failure, return "
92
127
"``NULL``."
93
128
msgstr ""
129
+ "Renvoie la liste des clefs dans l'objet *o*. En cas d'échec, renvoie *NULL*."
94
130
95
131
#: ../Doc/c-api/mapping.rst:83 ../Doc/c-api/mapping.rst:92
96
132
#: ../Doc/c-api/mapping.rst:101
97
133
msgid "Previously, the function returned a list or a tuple."
98
- msgstr ""
134
+ msgstr "Auparavant, la fonction renvoyait une liste ou un n-uplet. "
99
135
100
136
#: ../Doc/c-api/mapping.rst:89
101
137
msgid ""
102
138
"On success, return a list of the values in object *o*. On failure, return "
103
139
"``NULL``."
104
140
msgstr ""
141
+ "Renvoie la liste des valeurs dans l'objet *o*. En cas d'échec, renvoie "
142
+ "*NULL*."
105
143
106
144
#: ../Doc/c-api/mapping.rst:98
107
145
msgid ""
108
146
"On success, return a list of the items in object *o*, where each item is a "
109
147
"tuple containing a key-value pair. On failure, return ``NULL``."
110
148
msgstr ""
149
+ "Renvoie la liste des éléments dans l'objet *o*, où chaque élément est un n-"
150
+ "uplet contenant une paire clef-valeur. En cas d'échec, renvoie *NULL*."
0 commit comments