From d27e39bf07491d5dd5fc9f3d2229a3a143d41ee3 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Thu, 14 Dec 2017 09:10:27 +0100 Subject: [PATCH] library/functions: Done. --- library/functions.po | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/library/functions.po b/library/functions.po index 027d5a50..a0baf9a6 100644 --- a/library/functions.po +++ b/library/functions.po @@ -2546,7 +2546,7 @@ msgstr "" #: ../Doc/library/functions.rst:1389 msgid "Transform a method into a static method." -msgstr "" +msgstr "Transforme une méthode en méthode statique." #: ../Doc/library/functions.rst:1391 msgid "" @@ -2591,14 +2591,19 @@ msgid "" "want to avoid the automatic transformation to instance method. For these " "cases, use this idiom:" msgstr "" +"Comme pour tous les décorateurs, il est possible d'appeler ``staticmethod`` " +"comme une simple fonction, et faire quelque chose de son résultat. Ça peut " +"être nécessaire dans le cas où vous voudriez une référence à la fonction " +"depuis le corps d'une classe, et souhaiteriez éviter sa transformation en " +"méthode d'instance. Pour ces cas, faites comme suit :" #: ../Doc/library/functions.rst:1415 msgid "class C:" -msgstr "" +msgstr "class C:" #: ../Doc/library/functions.rst:1415 msgid "builtin_open = staticmethod(open)" -msgstr "" +msgstr "builtin_open = staticmethod(open)" #: ../Doc/library/functions.rst:1417 msgid ""