5
5
msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
- "POT-Creation-Date : 2019-11-15 18:54 +0100\n "
8
+ "POT-Creation-Date : 2020-02-04 10:00 +0100\n "
9
9
"PO-Revision-Date : 2018-07-03 11:36+0200\n "
10
10
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
11
11
"
Language-Team :
FRENCH <[email protected] >\n "
@@ -69,65 +69,67 @@ msgstr ""
69
69
70
70
#: ../Doc/c-api/dict.rst:65
71
71
msgid ""
72
- "Insert *value * into the dictionary *p* with a key of *key*. *key* must be :"
72
+ "Insert *val * into the dictionary *p* with a key of *key*. *key* must be :"
73
73
"term:`hashable`; if it isn't, :exc:`TypeError` will be raised. Return ``0`` "
74
- "on success or ``-1`` on failure."
74
+ "on success or ``-1`` on failure. This function *does not* steal a reference "
75
+ "to *val*."
75
76
msgstr ""
76
77
77
- #: ../Doc/c-api/dict.rst:74
78
+ #: ../Doc/c-api/dict.rst:75
78
79
msgid ""
79
- "Insert *value * into the dictionary *p* using *key* as a key. *key* should be "
80
+ "Insert *val * into the dictionary *p* using *key* as a key. *key* should be "
80
81
"a :c:type:`const char\\ *`. The key object is created using "
81
- "``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on failure."
82
+ "``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on "
83
+ "failure. This function *does not* steal a reference to *val*."
82
84
msgstr ""
83
85
84
- #: ../Doc/c-api/dict.rst:82
86
+ #: ../Doc/c-api/dict.rst:83
85
87
msgid ""
86
88
"Remove the entry in dictionary *p* with key *key*. *key* must be hashable; "
87
89
"if it isn't, :exc:`TypeError` is raised. Return ``0`` on success or ``-1`` "
88
90
"on failure."
89
91
msgstr ""
90
92
91
- #: ../Doc/c-api/dict.rst:89
93
+ #: ../Doc/c-api/dict.rst:90
92
94
msgid ""
93
95
"Remove the entry in dictionary *p* which has a key specified by the string "
94
96
"*key*. Return ``0`` on success or ``-1`` on failure."
95
97
msgstr ""
96
98
97
- #: ../Doc/c-api/dict.rst:95
99
+ #: ../Doc/c-api/dict.rst:96
98
100
msgid ""
99
101
"Return the object from dictionary *p* which has a key *key*. Return "
100
102
"``NULL`` if the key *key* is not present, but *without* setting an exception."
101
103
msgstr ""
102
104
103
- #: ../Doc/c-api/dict.rst:98
105
+ #: ../Doc/c-api/dict.rst:99
104
106
msgid ""
105
107
"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
106
108
"`__eq__` methods will get suppressed. To get error reporting use :c:func:"
107
109
"`PyDict_GetItemWithError()` instead."
108
110
msgstr ""
109
111
110
- #: ../Doc/c-api/dict.rst:105
112
+ #: ../Doc/c-api/dict.rst:106
111
113
msgid ""
112
114
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
113
115
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
114
116
"``NULL`` **without** an exception set if the key wasn't present."
115
117
msgstr ""
116
118
117
- #: ../Doc/c-api/dict.rst:113
119
+ #: ../Doc/c-api/dict.rst:114
118
120
msgid ""
119
121
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
120
122
"type:`const char\\ *`, rather than a :c:type:`PyObject\\ *`."
121
123
msgstr ""
122
124
123
- #: ../Doc/c-api/dict.rst:116
125
+ #: ../Doc/c-api/dict.rst:117
124
126
msgid ""
125
127
"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
126
128
"`__eq__` methods and creating a temporary string object will get suppressed. "
127
129
"To get error reporting use :c:func:`PyDict_GetItemWithError()` instead."
128
130
msgstr ""
129
131
130
- #: ../Doc/c-api/dict.rst:124
132
+ #: ../Doc/c-api/dict.rst:125
131
133
msgid ""
132
134
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
133
135
"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -137,29 +139,29 @@ msgid ""
137
139
"the insertion."
138
140
msgstr ""
139
141
140
- #: ../Doc/c-api/dict.rst:134
142
+ #: ../Doc/c-api/dict.rst:135
141
143
msgid ""
142
144
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
143
145
msgstr ""
144
146
145
- #: ../Doc/c-api/dict.rst:139
147
+ #: ../Doc/c-api/dict.rst:140
146
148
msgid ""
147
149
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
148
150
msgstr ""
149
151
150
- #: ../Doc/c-api/dict.rst:144
152
+ #: ../Doc/c-api/dict.rst:145
151
153
msgid ""
152
154
"Return a :c:type:`PyListObject` containing all the values from the "
153
155
"dictionary *p*."
154
156
msgstr ""
155
157
156
- #: ../Doc/c-api/dict.rst:152
158
+ #: ../Doc/c-api/dict.rst:153
157
159
msgid ""
158
160
"Return the number of items in the dictionary. This is equivalent to "
159
161
"``len(p)`` on a dictionary."
160
162
msgstr ""
161
163
162
- #: ../Doc/c-api/dict.rst:158
164
+ #: ../Doc/c-api/dict.rst:159
163
165
msgid ""
164
166
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
165
167
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -173,18 +175,18 @@ msgid ""
173
175
"structure is sparse, the offsets are not consecutive."
174
176
msgstr ""
175
177
176
- #: ../Doc/c-api/dict.rst:169
178
+ #: ../Doc/c-api/dict.rst:170
177
179
msgid "For example::"
178
180
msgstr "Par exemple ::"
179
181
180
- #: ../Doc/c-api/dict.rst:179
182
+ #: ../Doc/c-api/dict.rst:180
181
183
msgid ""
182
184
"The dictionary *p* should not be mutated during iteration. It is safe to "
183
185
"modify the values of the keys as you iterate over the dictionary, but only "
184
186
"so long as the set of keys does not change. For example::"
185
187
msgstr ""
186
188
187
- #: ../Doc/c-api/dict.rst:204
189
+ #: ../Doc/c-api/dict.rst:205
188
190
msgid ""
189
191
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
190
192
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -194,7 +196,7 @@ msgid ""
194
196
"or ``-1`` if an exception was raised."
195
197
msgstr ""
196
198
197
- #: ../Doc/c-api/dict.rst:214
199
+ #: ../Doc/c-api/dict.rst:215
198
200
msgid ""
199
201
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
200
202
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -203,7 +205,7 @@ msgid ""
203
205
"exception was raised."
204
206
msgstr ""
205
207
206
- #: ../Doc/c-api/dict.rst:223
208
+ #: ../Doc/c-api/dict.rst:224
207
209
msgid ""
208
210
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
209
211
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -212,6 +214,6 @@ msgid ""
212
214
"if an exception was raised. Equivalent Python (except for the return value)::"
213
215
msgstr ""
214
216
215
- #: ../Doc/c-api/dict.rst:238
217
+ #: ../Doc/c-api/dict.rst:239
216
218
msgid "Clear the free list. Return the total number of freed items."
217
219
msgstr ""
0 commit comments