Skip to content

Commit fba81e5

Browse files
Merge pull request #225 from piotch/lib/functools
Work on functools
2 parents 09f65ac + a710ee3 commit fba81e5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

library/functools.po

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
9-
"PO-Revision-Date: 2018-05-08 20:25+0200\n"
9+
"PO-Revision-Date: 2018-07-12 20:19+0200\n"
1010
"Last-Translator: Julien Palard <julien@palard.fr>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1212
"Language: fr\n"
1313
"MIME-Version: 1.0\n"
1414
"Content-Type: text/plain; charset=UTF-8\n"
1515
"Content-Transfer-Encoding: 8bit\n"
16-
"X-Generator: Poedit 1.8.6\n"
16+
"X-Generator: Poedit 2.0.9\n"
1717

1818
#: ../Doc/library/functools.rst:2
1919
msgid ""
@@ -354,23 +354,24 @@ msgstr ""
354354
"premier argument, donc la fonction doit être créée en conséquence ::"
355355

356356
#: ../Doc/library/functools.rst:283
357-
#, fuzzy
358357
msgid ""
359358
"To add overloaded implementations to the function, use the :func:`register` "
360359
"attribute of the generic function. It is a decorator. For functions "
361360
"annotated with types, the decorator will infer the type of the first "
362361
"argument automatically::"
363362
msgstr ""
364363
"Pour ajouter des surcharges d'implémentation à la fonction, utiliser "
365-
"l'attribut :func:`register` de la fonction générique. C'est un décorateur, "
366-
"prenant un type en paramètre et décorant une fonction implémentant "
367-
"l'opération pour ce type ::"
364+
"l'attribut :func:`register` de la fonction générique. C'est un décorateur. "
365+
"Pour les fonctions annotées avec des types, le décorateur infère le type du "
366+
"premier argument automatiquement : ::"
368367

369368
#: ../Doc/library/functools.rst:301
370369
msgid ""
371370
"For code which doesn't use type annotations, the appropriate type argument "
372371
"can be passed explicitly to the decorator itself::"
373372
msgstr ""
373+
"Pour le code qui n’utilise pas les indications de type, le type souhaité "
374+
"peut être passé explicitement en argument au décorateur : ::"
374375

375376
#: ../Doc/library/functools.rst:312
376377
msgid ""
@@ -430,6 +431,7 @@ msgstr ""
430431
#: ../Doc/library/functools.rst:382
431432
msgid "The :func:`register` attribute supports using type annotations."
432433
msgstr ""
434+
"L’attribut :func:`register` gère l’utilisation des indications de type."
433435

434436
#: ../Doc/library/functools.rst:388
435437
msgid ""

0 commit comments

Comments
 (0)