55msgstr ""
66"Project-Id-Version : Python 3.6\n "
77"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 "
99"PO-Revision-Date : 2018-07-03 11:36+0200\n "
1010"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1111"
Language-Team :
FRENCH <[email protected] >\n "
@@ -100,20 +100,34 @@ msgid ""
100100"if the key *key* is not present, but *without* setting an exception."
101101msgstr ""
102102
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
104111msgid ""
105112"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
106113"Return *NULL* **with** an exception set if an exception occurred. Return "
107114"*NULL* **without** an exception set if the key wasn't present."
108115msgstr ""
109116
110- #: ../Doc/c-api/dict.rst:109
117+ #: ../Doc/c-api/dict.rst:113
111118msgid ""
112119"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
113120"type:`const char\\ *`, rather than a :c:type:`PyObject\\ *`."
114121msgstr ""
115122
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
117131msgid ""
118132"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
119133"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -123,29 +137,29 @@ msgid ""
123137"the insertion."
124138msgstr ""
125139
126- #: ../Doc/c-api/dict.rst:125
140+ #: ../Doc/c-api/dict.rst:134
127141msgid ""
128142"Return a :c:type:`PyListObject` containing all the items from the dictionary."
129143msgstr ""
130144
131- #: ../Doc/c-api/dict.rst:130
145+ #: ../Doc/c-api/dict.rst:139
132146msgid ""
133147"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
134148msgstr ""
135149
136- #: ../Doc/c-api/dict.rst:135
150+ #: ../Doc/c-api/dict.rst:144
137151msgid ""
138152"Return a :c:type:`PyListObject` containing all the values from the "
139153"dictionary *p*."
140154msgstr ""
141155
142- #: ../Doc/c-api/dict.rst:143
156+ #: ../Doc/c-api/dict.rst:152
143157msgid ""
144158"Return the number of items in the dictionary. This is equivalent to "
145159"``len(p)`` on a dictionary."
146160msgstr ""
147161
148- #: ../Doc/c-api/dict.rst:149
162+ #: ../Doc/c-api/dict.rst:158
149163msgid ""
150164"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
151165"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -159,18 +173,18 @@ msgid ""
159173"structure is sparse, the offsets are not consecutive."
160174msgstr ""
161175
162- #: ../Doc/c-api/dict.rst:160
176+ #: ../Doc/c-api/dict.rst:169
163177msgid "For example::"
164178msgstr "Par exemple ::"
165179
166- #: ../Doc/c-api/dict.rst:170
180+ #: ../Doc/c-api/dict.rst:179
167181msgid ""
168182"The dictionary *p* should not be mutated during iteration. It is safe to "
169183"modify the values of the keys as you iterate over the dictionary, but only "
170184"so long as the set of keys does not change. For example::"
171185msgstr ""
172186
173- #: ../Doc/c-api/dict.rst:195
187+ #: ../Doc/c-api/dict.rst:204
174188msgid ""
175189"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
176190"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -180,7 +194,7 @@ msgid ""
180194"or ``-1`` if an exception was raised."
181195msgstr ""
182196
183- #: ../Doc/c-api/dict.rst:205
197+ #: ../Doc/c-api/dict.rst:214
184198msgid ""
185199"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
186200"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -189,7 +203,7 @@ msgid ""
189203"exception was raised."
190204msgstr ""
191205
192- #: ../Doc/c-api/dict.rst:214
206+ #: ../Doc/c-api/dict.rst:223
193207msgid ""
194208"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
195209"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -198,6 +212,6 @@ msgid ""
198212"if an exception was raised. Equivalent Python (except for the return value)::"
199213msgstr ""
200214
201- #: ../Doc/c-api/dict.rst:229
215+ #: ../Doc/c-api/dict.rst:238
202216msgid "Clear the free list. Return the total number of freed items."
203217msgstr ""
0 commit comments