8000 library/functions: Done. · python/python-docs-fr@d27e39b · GitHub
[go: up one dir, main page]

Skip to content

Commit d27e39b

Browse files
committed
library/functions: Done.
1 parent 5a285bf commit d27e39b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

library/functions.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,7 +2546,7 @@ msgstr ""
25462546

25472547
#: ../Doc/library/functions.rst:1389
25482548
msgid "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
25522552
msgid ""
@@ -2591,14 +2591,19 @@ msgid ""
25912591
"want to avoid the automatic transformation to instance method. For these "
25922592
"cases, use this idiom:"
25932593
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 :"
25942599

25952600
#: ../Doc/library/functions.rst:1415
25962601
msgid "class C:"
2597-
msgstr ""
2602+
msgstr "class C:"
25982603

25992604
#: ../Doc/library/functions.rst:1415
26002605
msgid "builtin_open = staticmethod(open)"
2601-
msgstr ""
2606+
msgstr "builtin_open = staticmethod(open)"
26022607

26032608
#: ../Doc/library/functions.rst:1417
26042609
msgid ""

0 commit comments

Comments
 (0)
0