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 ""
2546
2546
2547
2547
#: ../Doc/library/functions.rst:1389
2548
2548
msgid "Transform a method into a static method."
2549
- msgstr ""
2549
+ msgstr "Transforme une méthode en méthode statique. "
2550
2550
2551
2551
#: ../Doc/library/functions.rst:1391
2552
2552
msgid ""
@@ -2591,14 +2591,19 @@ msgid ""
2591
2591
"want to avoid the automatic transformation to instance method. For these "
2592
2592
"cases, use this idiom:"
2593
2593
msgstr ""
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 :"
2594
2599
2595
2600
#: ../Doc/library/functions.rst:1415
2596
2601
msgid "class C:"
2597
- msgstr ""
2602
+ msgstr "class C: "
2598
2603
2599
2604
#: ../Doc/library/functions.rst:1415
2600
2605
msgid "builtin_open = staticmethod(open)"
2601
- msgstr ""
2606
+ msgstr "builtin_open = staticmethod(open) "
2602 2607
2603
2608
#: ../Doc/library/functions.rst:1417
2604
2609
msgid ""
You can’t perform that action at this time.
0 commit comments