Merge pull request #225 from piotch/lib/functools

Work on functools
This commit is contained in:
Christophe Nanteuil 2018-07-16 10:11:49 +02:00 committed by GitHub
commit fba81e5df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,14 +6,14 @@ msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-28 15:29+0200\n" "POT-Creation-Date: 2018-06-28 15:29+0200\n"
"PO-Revision-Date: 2018-05-08 20:25+0200\n" "PO-Revision-Date: 2018-07-12 20:19+0200\n"
"Last-Translator: Julien Palard <julien@palard.fr>\n" "Last-Translator: Julien Palard <julien@palard.fr>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" "Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.6\n" "X-Generator: Poedit 2.0.9\n"
#: ../Doc/library/functools.rst:2 #: ../Doc/library/functools.rst:2
msgid "" msgid ""
@ -354,7 +354,6 @@ msgstr ""
"premier argument, donc la fonction doit être créée en conséquence ::" "premier argument, donc la fonction doit être créée en conséquence ::"
#: ../Doc/library/functools.rst:283 #: ../Doc/library/functools.rst:283
#, fuzzy
msgid "" msgid ""
"To add overloaded implementations to the function, use the :func:`register` " "To add overloaded implementations to the function, use the :func:`register` "
"attribute of the generic function. It is a decorator. For functions " "attribute of the generic function. It is a decorator. For functions "
@ -362,15 +361,17 @@ msgid ""
"argument automatically::" "argument automatically::"
msgstr "" msgstr ""
"Pour ajouter des surcharges d'implémentation à la fonction, utiliser " "Pour ajouter des surcharges d'implémentation à la fonction, utiliser "
"l'attribut :func:`register` de la fonction générique. C'est un décorateur, " "l'attribut :func:`register` de la fonction générique. C'est un décorateur. "
"prenant un type en paramètre et décorant une fonction implémentant " "Pour les fonctions annotées avec des types, le décorateur infère le type du "
"l'opération pour ce type ::" "premier argument automatiquement : ::"
#: ../Doc/library/functools.rst:301 #: ../Doc/library/functools.rst:301
msgid "" msgid ""
"For code which doesn't use type annotations, the appropriate type argument " "For code which doesn't use type annotations, the appropriate type argument "
"can be passed explicitly to the decorator itself::" "can be passed explicitly to the decorator itself::"
msgstr "" msgstr ""
"Pour le code qui nutilise pas les indications de type, le type souhaité "
"peut être passé explicitement en argument au décorateur : ::"
#: ../Doc/library/functools.rst:312 #: ../Doc/library/functools.rst:312
msgid "" msgid ""
@ -430,6 +431,7 @@ msgstr ""
#: ../Doc/library/functools.rst:382 #: ../Doc/library/functools.rst:382
msgid "The :func:`register` attribute supports using type annotations." msgid "The :func:`register` attribute supports using type annotations."
msgstr "" msgstr ""
"Lattribut :func:`register` gère lutilisation des indications de type."
#: ../Doc/library/functools.rst:388 #: ../Doc/library/functools.rst:388
msgid "" msgid ""