Worked on function.po #43

Merged
mdk merged 6 commits from Thevenel/python-docs-fr:function into 3.11 2023-02-20 12:13:02 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit 700ee43a6c - Show all commits

View File

@ -20,11 +20,11 @@ msgstr "Objets fonctions"
#: c-api/function.rst:10
msgid "There are a few functions specific to Python functions."
msgstr "Il y'a quelques fonctions qui sont spécifiques parmi les fonctions de Python"
msgstr "Il y a quelques fonctions qui sont spécifiques parmi les fonctions de Python"
mdk marked this conversation as resolved Outdated
Outdated
Review

Le contexte c'est : https://docs.python.org/3/c-api/function.html

Ça parle de fonctions C spécifiques aux fonctions Python, comme PyFunction_GetCode qui permet d'obtenir le code d'une fonction.

Donc ce ne sont pas des fonctions parmi des fonctions, ce sont des fonctions spécifiques.

Je proposerai plutôt :

Certaines fonctions sont spécifique aux fonctions Python.

Le contexte c'est : https://docs.python.org/3/c-api/function.html Ça parle de fonctions C spécifiques aux fonctions Python, comme `PyFunction_GetCode` qui permet d'obtenir le code d'une fonction. Donc ce ne sont pas des fonctions parmi des fonctions, ce sont des fonctions spécifiques. Je proposerai plutôt : > Certaines fonctions sont spécifique aux fonctions Python.
#: c-api/function.rst:15
msgid "The C structure used for functions."
msgstr "La structure de C est utilisée comme fonctions."
msgstr "La structure de C est utilisée pour les fonctions."
mdk marked this conversation as resolved Outdated
Outdated
Review

Ça parle de type PyFunctionObject ici (https://docs.python.org/3/c-api/function.html#c.PyFunctionObject) donc plutôt :

La structure C utilisée pour les fonctions.

Ça parle de `type PyFunctionObject` ici (https://docs.python.org/3/c-api/function.html#c.PyFunctionObject) donc plutôt : > La structure C utilisée pour les fonctions.
#: c-api/function.rst:22
msgid ""
@ -49,8 +49,8 @@ msgid ""
"Return a new function object associated with the code object *code*. "
"*globals* must be a dictionary with the global variables accessible to the "
"function."
msgstr "Renvoie une nouvelle fonction associée avec l'objet code *code*. "
"*globals* doit ête un dictionnaire avec les variables globales accessible à la "
msgstr "Renvoie une nouvelle fonction associée avec l'objet *code*. "
"*globals* doit être un dictionnaire avec les variables globales accessibles à la "
"fonction."
#: c-api/function.rst:37