@@ -6,14 +6,14 @@ msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
8
"POT-Creation-Date : 2019-09-04 11:33+0200\n "
9
- "PO-Revision-Date : 2019-12-12 16:19 +0100\n "
10
- "
Last-Translator :
Julien Palard <[email protected] >\n"
9
+ "PO-Revision-Date : 2020-03-28 20:32 +0100\n "
10
+ "
Last-Translator :
Mathieu Dupuy <[email protected] >\n"
11
11
"
Language-Team :
FRENCH <[email protected] >\n "
12
12
"Language : fr\n "
13
13
"MIME-Version : 1.0\n "
14
14
"Content-Type : text/plain; charset=UTF-8\n "
15
15
"Content-Transfer-Encoding : 8bit\n "
16
- "X-Generator : Poedit 2.1.1 \n "
16
+ "X-Generator : Poedit 2.3 \n "
17
17
18
18
#: ../Doc/howto/descriptor.rst:3
19
19
msgid "Descriptor HowTo Guide"
@@ -233,13 +233,13 @@ msgid ""
233
233
"The full C implementation can be found in :c:func:"
234
234
"`PyObject_GenericGetAttr()` in :source:`Objects/object.c`."
235
235
msgstr ""
236
- "Pour les objets, la machinerie est en :meth:`object.__getattribute__` qui "
236
+ "Pour les objets, la machinerie est dans :meth:`object.__getattribute__` qui "
237
237
"transforme ``b.x`` en ``type(b).__dict__['x'].__get__(b, type(b)]``. "
238
238
"L'implémentation fonctionne à travers une chaîne de priorité qui donne la "
239
239
"priorité aux descripteurs de données sur les variables d'instance, la "
240
240
"priorité aux variables d'instance sur les descripteurs *non-data*, et "
241
241
"attribue la priorité la plus faible à :meth:`__getattr__` si fourni. "
242
- "L'implémentation complète de C peut être trouvée dans :c:func:"
242
+ "L'implémentation complète en C peut être trouvée dans :c:func:"
243
243
"`PyObject_GenericGetAttr()` dans :source:`Objects/object.c`."
244
244
245
245
#: ../Doc/howto/descriptor.rst:99
@@ -250,7 +250,7 @@ msgid ""
250
250
msgstr ""
251
251
"Pour les classes, la machinerie est dans :meth:`type.__getattribute__` qui "
252
252
"transforme ``B.x`` en ``B.__dict__['x'].__get__(None, B)``. En Python pur, "
253
- "il ressemble à ::"
253
+ "cela ressemble à ::"
254
254
255
255
#: ../Doc/howto/descriptor.rst:110
256
256
msgid "The important points to remember are:"
@@ -263,7 +263,7 @@ msgstr "les descripteurs sont appelés par la méthode :meth:`__getattribute__`"
263
263
#: ../Doc/howto/descriptor.rst:113
264
264
msgid "overriding :meth:`__getattribute__` prevents automatic descriptor calls"
265
265
msgstr ""
266
- "redéfinition :meth:`__getattribute____` empêche les appels automatiques de "
266
+ "redéfinir :meth:`__getattribute____` empêche les appels automatiques de "
267
267
"descripteurs"
268
268
269
269
#: ../Doc/howto/descriptor.rst:114
@@ -287,7 +287,6 @@ msgstr ""
287
287
"d'instance."
288
288
289
289
#: ../Doc/howto/descriptor.rst:119
290
- #, fuzzy
291
290
msgid ""
292
291
"The object returned by ``super()`` also has a custom :meth:"
293
292
"`__getattribute__` method for invoking descriptors. The attribute lookup "
@@ -297,13 +296,13 @@ msgid ""
297
296
"not in the dictionary, ``m`` reverts to a search using :meth:`object."
298
297
"__getattribute__`."
299
298
msgstr ""
300
- "L'objet retourné par ``super()`` a aussi une méthode personnalisée :meth:"
301
- "`__getattribute__` pour appeler les descripteurs. L'appel ``super(B, obj). "
302
- "m() `` recherche ``obj.__class__.__mro__`` pour la classe de base ``A`` "
303
- "immédiatement après ``B`` et renvoie ensuite ``A.__dict__['m'].__get__(obj, "
304
- "B)``. Si ce n'est pas un descripteur, ``m`` est retourné inchangé. Si ce "
305
- "n'est pas dans le dictionnaire, ``m`` renvoie à une recherche avec :meth: "
306
- "`object.__getattribute__`."
299
+ "L'objet renvoyé par ``super()`` a également une méthode personnalisée :meth:"
300
+ "`__getattribute__` pour invoquer des descripteurs. La recherche d'attribut "
301
+ "``super(B, obj).m `` recherche dans ``obj.__class__.__mro__`` la classe qui "
302
+ "suit immédiatement B, appelons la A, et renvoie ``A.__dict__['m']."
303
+ "__get__(obj, B)``. Si ce n'est pas un descripteur, ``m`` est renvoyé "
304
+ "inchangé. S'il n'est pas dans le dictionnaire, la recherche de ``m`` revient "
305
+ "à une recherche utilisant :meth: `object.__getattribute__`."
307
306
308
307
#: ../Doc/howto/descriptor.rst:126
309
308
msgid ""
0 commit comments