5
5
msgstr ""
6
6
"Project-Id-Version : Python 3.6\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
- "POT-Creation-Date : 2018-06-28 15:29+0200 \n "
8
+ "POT-Creation-Date : 2018-12-21 09:48+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 "
@@ -100,20 +100,34 @@ msgid ""
100
100
"if the key *key* is not present, but *without* setting an exception."
101
101
msgstr ""
102
102
103
- #: ../Doc/c-api/dict.rst:101
103
+ #: ../Doc/c-api/dict.rst:98
104
+ msgid ""
105
+ "Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
106
+ "`__eq__` methods will get suppressed. To get error reporting use :c:func:"
107
+ "`PyDict_GetItemWithError()` instead."
108
+ msgstr ""
109
+
110
+ #: ../Doc/c-api/dict.rst:105
104
111
msgid ""
105
112
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
106
113
"Return *NULL* **with** an exception set if an exception occurred. Return "
107
114
"*NULL* **without** an exception set if the key wasn't present."
108
115
msgstr ""
109
116
110
- #: ../Doc/c-api/dict.rst:109
117
+ #: ../Doc/c-api/dict.rst:113
111
118
msgid ""
112
119
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
113
120
"type:`const char\\ *`, rather than a :c:type:`PyObject\\ *`."
114
121
msgstr ""
115
122
116
- #: ../Doc/c-api/dict.rst:115
123
+ #: ../Doc/c-api/dict.rst:116
124
+ msgid ""
125
+ "Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
126
+ "`__eq__` methods and creating a temporary string object will get suppressed. "
127
+ "To get error reporting use :c:func:`PyDict_GetItemWithError()` instead."
128
+ msgstr ""
129
+
130
+ #: ../Doc/c-api/dict.rst:124
117
131
msgid ""
118
132
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
119
133
"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -123,29 +137,29 @@ msgid ""
123
137
"the insertion."
124
138
msgstr ""
125
139
126
- #: ../Doc/c-api/dict.rst:125
140
+ #: ../Doc/c-api/dict.rst:134
127
141
msgid ""
128
142
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
129
143
msgstr ""
130
144
131
- #: ../Doc/c-api/dict.rst:130
145
+ #: ../Doc/c-api/dict.rst:139
132
146
msgid ""
133
147
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
134
148
msgstr ""
135
149
136
- #: ../Doc/c-api/dict.rst:135
150
+ #: ../Doc/c-api/dict.rst:144
137
151
msgid ""
138
152
"Return a :c:type:`PyListObject` containing all the values from the "
139
153
"dictionary *p*."
140
154
msgstr ""
141
155
142
- #: ../Doc/c-api/dict.rst:143
156
+ #: ../Doc/c-api/dict.rst:152
143
157
msgid ""
144
158
"Return the number of items in the dictionary. This is equivalent to "
145
159
"``len(p)`` on a dictionary."
146
160
msgstr ""
147
161
148
- #: ../Doc/c-api/dict.rst:149
162
+ #: ../Doc/c-api/dict.rst:158
149
163
msgid ""
150
164
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
151
165
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -159,18 +173,18 @@ msgid ""
159
173
"structure is sparse, the offsets are not consecutive."
160
174
msgstr ""
161
175
162
- #: ../Doc/c-api/dict.rst:160
176
+ #: ../Doc/c-api/dict.rst:169
163
177
msgid "For example::"
164
178
msgstr "Par exemple ::"
165
179
166
- #: ../Doc/c-api/dict.rst:170
180
+ #: ../Doc/c-api/dict.rst:179
167
181
msgid ""
168
182
"The dictionary *p* should not be mutated during iteration. It is safe to "
169
183
"modify the values of the keys as you iterate over the dictionary, but only "
170
184
"so long as the set of keys does not change. For example::"
171
185
msgstr ""
172
186
173
- #: ../Doc/c-api/dict.rst:195
187
+ #: ../Doc/c-api/dict.rst:204
174
188
msgid ""
175
189
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
176
190
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -180,7 +194,7 @@ msgid ""
180
194
"or ``-1`` if an exception was raised."
181
195
msgstr ""
182
196
183
- #: ../Doc/c-api/dict.rst:205
197
+ #: ../Doc/c-api/dict.rst:214
184
198
msgid ""
185
199
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
186
200
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -189,7 +203,7 @@ msgid ""
189
203
"exception was raised."
190
204
msgstr ""
191
205
192
- #: ../Doc/c-api/dict.rst:214
206
+ #: ../Doc/c-api/dict.rst:223
193
207
msgid ""
194
208
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
195
209
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -198,6 +212,6 @@ msgid ""
198
212
"if an exception was raised. Equivalent Python (except for the return value)::"
199
213
msgstr ""
200
214
201
- #: ../Doc/c-api/dict.rst:229
215
+ #: ../Doc/c-api/dict.rst:238
202
216
msgid "Clear the free list. Return the total number of freed items."
203
217
msgstr ""
0 commit comments