File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -2546,7 +2546,7 @@ msgstr ""
25462546
25472547#: ../Doc/library/functions.rst:1389
25482548msgid "Transform a method into a static method."
2549- msgstr ""
2549+ msgstr "Transforme une méthode en méthode statique. "
25502550
25512551#: ../Doc/library/functions.rst:1391
25522552msgid ""
@@ -2591,14 +2591,19 @@ msgid ""
25912591"want to avoid the automatic transformation to instance method. For these "
25922592"cases, use this idiom:"
25932593msgstr ""
2594+ "Comme pour tous les décorateurs, il est possible d'appeler ``staticmethod`` "
2595+ "comme une simple fonction, et faire quelque chose de son résultat. Ça peut "
2596+ "être nécessaire dans le cas où vous voudriez une référence à la fonction "
2597+ "depuis le corps d'une classe, et souhaiteriez éviter sa transformation en "
2598+ "méthode d'instance. Pour ces cas, faites comme suit :"
25942599
25952600#: ../Doc/library/functions.rst:1415
25962601msgid "class C:"
2597- msgstr ""
2602+ msgstr "class C: "
25982603
25992604#: ../Doc/library/functions.rst:1415
26002605msgid "builtin_open = staticmethod(open)"
2601- msgstr ""
2606+ msgstr "builtin_open = staticmethod(open) "
26022607
26032608#: ../Doc/library/functions.rst:1417
26042609msgid ""
You can’t perform that action at this time.
0 commit comments