forked from AFPy/python-docs-fr
Work on functools
This commit is contained in:
parent
61b4b28ab8
commit
a050775ea4
|
@ -6,14 +6,14 @@ msgstr ""
|
|||
"Project-Id-Version: Python 3.6\n"
|
||||
"Report-Msgid-Bugs-To: \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 19:39+0200\n"
|
||||
"Last-Translator: Julien Palard <julien@palard.fr>\n"
|
||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\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
|
||||
msgid ""
|
||||
|
@ -354,7 +354,6 @@ msgstr ""
|
|||
"premier argument, donc la fonction doit être créée en conséquence ::"
|
||||
|
||||
#: ../Doc/library/functools.rst:283
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"To add overloaded implementations to the function, use the :func:`register` "
|
||||
"attribute of the generic function. It is a decorator. For functions "
|
||||
|
@ -362,15 +361,17 @@ msgid ""
|
|||
"argument automatically::"
|
||||
msgstr ""
|
||||
"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, "
|
||||
"prenant un type en paramètre et décorant une fonction implémentant "
|
||||
"l'opération pour ce type ::"
|
||||
"l'attribut :func:`register` de la fonction générique. C'est un décorateur. "
|
||||
"Pour les fonctions annotées avec des types, le décorateur infère le type du "
|
||||
"premier argument automatiquement::"
|
||||
|
||||
#: ../Doc/library/functools.rst:301
|
||||
msgid ""
|
||||
"For code which doesn't use type annotations, the appropriate type argument "
|
||||
"can be passed explicitly to the decorator itself::"
|
||||
msgstr ""
|
||||
"Pour le code qui n’utilise pas les annotations de type, l’argument du type "
|
||||
"souhaité peut être passé explicitement au décorateur::"
|
||||
|
||||
#: ../Doc/library/functools.rst:312
|
||||
msgid ""
|
||||
|
@ -430,6 +431,7 @@ msgstr ""
|
|||
#: ../Doc/library/functools.rst:382
|
||||
msgid "The :func:`register` attribute supports using type annotations."
|
||||
msgstr ""
|
||||
"L’attribut :func:`register` support l’utilisation des annotations de type."
|
||||
|
||||
#: ../Doc/library/functools.rst:388
|
||||
msgid ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user