55msgstr ""
66"Project-Id-Version : Python 3\n "
77"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 "
99"PO-Revision-Date : 2018-07-03 11:36+0200\n "
1010"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1111"Language-Team : FRENCH <traductions@lists.afpy.org>\n "
@@ -19,15 +19,21 @@ msgid "Dictionary Objects"
1919msgstr "Objets dictionnaires"
2020
2121#: ../Doc/c-api/dict.rst:13
22+ #, fuzzy
2223msgid ""
2324"This subtype of :c:type:`PyObject` represents a Python dictionary object."
2425msgstr ""
26+ "Ce sous-type de :c:type:`PyObject` représente un objet ``bytearray`` Python."
2527
2628#: ../Doc/c-api/dict.rst:18
29+ #, fuzzy
2730msgid ""
2831"This instance of :c:type:`PyTypeObject` represents the Python dictionary "
2932"type. This is the same object as :class:`dict` in the Python layer."
3033msgstr ""
34+ "Cette instance de l'objet :c:type:`PyTypeObject` représente le type nombre à "
35+ "virgule flottante en Python. C'est le même objet que la classe :class:"
36+ "`float` de la couche Python."
3137
3238#: ../Doc/c-api/dict.rst:24
3339msgid ""
@@ -69,65 +75,67 @@ msgstr ""
6975
7076#: ../Doc/c-api/dict.rst:65
7177msgid ""
72- "Insert *value * into the dictionary *p* with a key of *key*. *key* must be :"
78+ "Insert *val * into the dictionary *p* with a key of *key*. *key* must be :"
7379"term:`hashable`; if it isn't, :exc:`TypeError` will be raised. Return ``0`` "
74- "on success or ``-1`` on failure."
80+ "on success or ``-1`` on failure. This function *does not* steal a reference "
81+ "to *val*."
7582msgstr ""
7683
77- #: ../Doc/c-api/dict.rst:74
84+ #: ../Doc/c-api/dict.rst:75
7885msgid ""
79- "Insert *value * into the dictionary *p* using *key* as a key. *key* should be "
86+ "Insert *val * into the dictionary *p* using *key* as a key. *key* should be "
8087"a :c:type:`const char\\ *`. The key object is created using "
81- "``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on failure."
88+ "``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on "
89+ "failure. This function *does not* steal a reference to *val*."
8290msgstr ""
8391
84- #: ../Doc/c-api/dict.rst:82
92+ #: ../Doc/c-api/dict.rst:83
8593msgid ""
8694"Remove the entry in dictionary *p* with key *key*. *key* must be hashable; "
8795"if it isn't, :exc:`TypeError` is raised. Return ``0`` on success or ``-1`` "
8896"on failure."
8997msgstr ""
9098
91- #: ../Doc/c-api/dict.rst:89
99+ #: ../Doc/c-api/dict.rst:90
92100msgid ""
93101"Remove the entry in dictionary *p* which has a key specified by the string "
94102"*key*. Return ``0`` on success or ``-1`` on failure."
95103msgstr ""
96104
97- #: ../Doc/c-api/dict.rst:95
105+ #: ../Doc/c-api/dict.rst:96
98106msgid ""
99107"Return the object from dictionary *p* which has a key *key*. Return "
100108"``NULL`` if the key *key* is not present, but *without* setting an exception."
101109msgstr ""
102110
103- #: ../Doc/c-api/dict.rst:98
111+ #: ../Doc/c-api/dict.rst:99
104112msgid ""
105113"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
106114"`__eq__` methods will get suppressed. To get error reporting use :c:func:"
107115"`PyDict_GetItemWithError()` instead."
108116msgstr ""
109117
110- #: ../Doc/c-api/dict.rst:105
118+ #: ../Doc/c-api/dict.rst:106
111119msgid ""
112120"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
113121"Return ``NULL`` **with** an exception set if an exception occurred. Return "
114122"``NULL`` **without** an exception set if the key wasn't present."
115123msgstr ""
116124
117- #: ../Doc/c-api/dict.rst:113
125+ #: ../Doc/c-api/dict.rst:114
118126msgid ""
119127"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
120128"type:`const char\\ *`, rather than a :c:type:`PyObject\\ *`."
121129msgstr ""
122130
123- #: ../Doc/c-api/dict.rst:116
131+ #: ../Doc/c-api/dict.rst:117
124132msgid ""
125133"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
126134"`__eq__` methods and creating a temporary string object will get suppressed. "
127135"To get error reporting use :c:func:`PyDict_GetItemWithError()` instead."
128136msgstr ""
129137
130- #: ../Doc/c-api/dict.rst:124
138+ #: ../Doc/c-api/dict.rst:125
131139msgid ""
132140"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
133141"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -137,29 +145,29 @@ msgid ""
137145"the insertion."
138146msgstr ""
139147
140- #: ../Doc/c-api/dict.rst:134
148+ #: ../Doc/c-api/dict.rst:135
141149msgid ""
142150"Return a :c:type:`PyListObject` containing all the items from the dictionary."
143151msgstr ""
144152
145- #: ../Doc/c-api/dict.rst:139
153+ #: ../Doc/c-api/dict.rst:140
146154msgid ""
147155"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
148156msgstr ""
149157
150- #: ../Doc/c-api/dict.rst:144
158+ #: ../Doc/c-api/dict.rst:145
151159msgid ""
152160"Return a :c:type:`PyListObject` containing all the values from the "
153161"dictionary *p*."
154162msgstr ""
155163
156- #: ../Doc/c-api/dict.rst:152
164+ #: ../Doc/c-api/dict.rst:153
157165msgid ""
158166"Return the number of items in the dictionary. This is equivalent to "
159167"``len(p)`` on a dictionary."
160168msgstr ""
161169
162- #: ../Doc/c-api/dict.rst:158
170+ #: ../Doc/c-api/dict.rst:159
163171msgid ""
164172"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
165173"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -173,18 +181,18 @@ msgid ""
173181"structure is sparse, the offsets are not consecutive."
174182msgstr ""
175183
176- #: ../Doc/c-api/dict.rst:169
184+ #: ../Doc/c-api/dict.rst:170
177185msgid "For example::"
178186msgstr "Par exemple ::"
179187
180- #: ../Doc/c-api/dict.rst:179
188+ #: ../Doc/c-api/dict.rst:180
181189msgid ""
182190"The dictionary *p* should not be mutated during iteration. It is safe to "
183191"modify the values of the keys as you iterate over the dictionary, but only "
184192"so long as the set of keys does not change. For example::"
185193msgstr ""
186194
187- #: ../Doc/c-api/dict.rst:204
195+ #: ../Doc/c-api/dict.rst:205
188196msgid ""
189197"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
190198"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -194,7 +202,7 @@ msgid ""
194202"or ``-1`` if an exception was raised."
195203msgstr ""
196204
197- #: ../Doc/c-api/dict.rst:214
205+ #: ../Doc/c-api/dict.rst:215
198206msgid ""
199207"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
200208"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -203,7 +211,7 @@ msgid ""
203211"exception was raised."
204212msgstr ""
205213
206- #: ../Doc/c-api/dict.rst:223
214+ #: ../Doc/c-api/dict.rst:224
207215msgid ""
208216"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
209217"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -212,6 +220,6 @@ msgid ""
212220"if an exception was raised. Equivalent Python (except for the return value)::"
213221msgstr ""
214222
215- #: ../Doc/c-api/dict.rst:238
223+ #: ../Doc/c-api/dict.rst:239
216224msgid "Clear the free list. Return the total number of freed items."
217225msgstr ""
0 commit comments