finished the function.po
This commit is contained in:
parent
700ee43a6c
commit
57593917a4
|
@ -59,7 +59,10 @@ msgid ""
|
||||||
"*__module__* is retrieved from *globals*. The argument defaults, annotations "
|
"*__module__* is retrieved from *globals*. The argument defaults, annotations "
|
||||||
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
|
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
|
||||||
"the code object's ``co_qualname`` field."
|
"the code object's ``co_qualname`` field."
|
||||||
msgstr ""
|
msgstr "Le docstring et le nom de la fonction sont récupérés à partir de l'objet code. "
|
||||||
|
"*__module__* est récupéré à partir de *globals*. Les arguments par défaut, les annotations "
|
||||||
|
"et la fermeture sont mis à ``NULL``. *__qualname__* est mis à la même valeur que "
|
||||||
|
"celle du champs ``co_qualname`` des objets de code."
|
||||||
|
|
||||||
#: c-api/function.rst:45
|
#: c-api/function.rst:45
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -67,64 +70,75 @@ msgid ""
|
||||||
"``__qualname__`` attribute. *qualname* should be a unicode object or "
|
"``__qualname__`` attribute. *qualname* should be a unicode object or "
|
||||||
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
|
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
|
||||||
"value as the code object's ``co_qualname`` field."
|
"value as the code object's ``co_qualname`` field."
|
||||||
msgstr ""
|
msgstr "Comme :c:func:`PyFunction_New`, mais aussi autorise la configuration de l'attribut "
|
||||||
|
"``__qualname__`` des objets de la fonction. *qualname* devrait être un objet unicode or "
|
||||||
|
"``NULL``; is ``NULL``, l'attribut ``__qualname__`` est mis à la même valeur que celle "
|
||||||
|
"du champs ``co_qualname`` des objets de code."
|
||||||
|
|
||||||
#: c-api/function.rst:55
|
#: c-api/function.rst:55
|
||||||
msgid "Return the code object associated with the function object *op*."
|
msgid "Return the code object associated with the function object *op*."
|
||||||
msgstr ""
|
msgstr "Renvoie l'objet code associé avec l'objet de la fonction *op*."
|
||||||
|
|
||||||
#: c-api/function.rst:60
|
#: c-api/function.rst:60
|
||||||
msgid "Return the globals dictionary associated with the function object *op*."
|
msgid "Return the globals dictionary associated with the function object *op*."
|
||||||
msgstr ""
|
msgstr "Renvoie le dictionnaire global associé avec l'objet de la fonction *op*."
|
||||||
|
|
||||||
#: c-api/function.rst:65
|
#: c-api/function.rst:65
|
||||||
msgid ""
|
msgid ""
|
||||||
"Return a :term:`borrowed reference` to the *__module__* attribute of the "
|
"Return a :term:`borrowed reference` to the *__module__* attribute of the "
|
||||||
"function object *op*. It can be *NULL*."
|
"function object *op*. It can be *NULL*."
|
||||||
msgstr ""
|
msgstr "Renvoie un :term:`borrowed reference` à l'attribut *__module__ de "
|
||||||
|
"l'objet de la fonction *op*. Il peut être *NULL*."
|
||||||
|
|
||||||
#: c-api/function.rst:68
|
#: c-api/function.rst:68
|
||||||
msgid ""
|
msgid ""
|
||||||
"This is normally a string containing the module name, but can be set to any "
|
"This is normally a string containing the module name, but can be set to any "
|
||||||
"other object by Python code."
|
"other object by Python code."
|
||||||
msgstr ""
|
msgstr "C'est typiquement une chaîne de caractère contenant le module nom, mais il peut être "
|
||||||
|
"n'importe quel autre objet code de Python."
|
||||||
|
|
||||||
#: c-api/function.rst:74
|
#: c-api/function.rst:74
|
||||||
msgid ""
|
msgid ""
|
||||||
"Return the argument default values of the function object *op*. This can be "
|
"Return the argument default values of the function object *op*. This can be "
|
||||||
"a tuple of arguments or ``NULL``."
|
"a tuple of arguments or ``NULL``."
|
||||||
msgstr ""
|
msgstr "Renvoie les valeurs par défaut de l'argument de l'objet de la fonction *op*. Cela peut être "
|
||||||
|
"un tuple d'arguments ou ``NULL``."
|
||||||
|
|
||||||
#: c-api/function.rst:80
|
#: c-api/function.rst:80
|
||||||
msgid ""
|
msgid ""
|
||||||
"Set the argument default values for the function object *op*. *defaults* "
|
"Set the argument default values for the function object *op*. *defaults* "
|
||||||
"must be ``Py_None`` or a tuple."
|
"must be ``Py_None`` or a tuple."
|
||||||
msgstr ""
|
msgstr "Définir les valeurs par défaut de l'argument pour l'objet de la fonction *op*. *defaults* "
|
||||||
|
"doit être ``Py_None`` ou un tuple."
|
||||||
|
|
||||||
#: c-api/function.rst:97 c-api/function.rst:111
|
#: c-api/function.rst:97 c-api/function.rst:111
|
||||||
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
|
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
|
||||||
msgstr ""
|
msgstr "Lève :exc:`SystemError` et renvoie ``-1`` en cas de d'échec."
|
||||||
|
|
||||||
#: c-api/function.rst:88
|
#: c-api/function.rst:88
|
||||||
msgid ""
|
msgid ""
|
||||||
"Return the closure associated with the function object *op*. This can be "
|
"Return the closure associated with the function object *op*. This can be "
|
||||||
"``NULL`` or a tuple of cell objects."
|
"``NULL`` or a tuple of cell objects."
|
||||||
msgstr ""
|
msgstr "Renvoie la fermeture associée avec l'objet de la fonction *op*. Cela peut être "
|
||||||
|
"``NULL`` ou un tuple d'objets cellule."
|
||||||
|
|
||||||
#: c-api/function.rst:94
|
#: c-api/function.rst:94
|
||||||
msgid ""
|
msgid ""
|
||||||
"Set the closure associated with the function object *op*. *closure* must be "
|
"Set the closure associated with the function object *op*. *closure* must be "
|
||||||
"``Py_None`` or a tuple of cell objects."
|
"``Py_None`` or a tuple of cell objects."
|
||||||
msgstr ""
|
msgstr "Définir la fermeture associée avec l'objet de la fonction *op*. *closure* doit être "
|
||||||
|
"``Py_None`` ou un tuple d'objets cellule."
|
||||||
|
|
||||||
#: c-api/function.rst:102
|
#: c-api/function.rst:102
|
||||||
msgid ""
|
msgid ""
|
||||||
"Return the annotations of the function object *op*. This can be a mutable "
|
"Return the annotations of the function object *op*. This can be a mutable "
|
||||||
"dictionary or ``NULL``."
|
"dictionary or ``NULL``."
|
||||||
msgstr ""
|
msgstr "Renvoie les annotations de l'objet de la fonction *op*. Cela peut être un dictionnaire "
|
||||||
|
"mutable ou ``NULL``."
|
||||||
|
|
||||||
#: c-api/function.rst:108
|
#: c-api/function.rst:108
|
||||||
msgid ""
|
msgid ""
|
||||||
"Set the annotations for the function object *op*. *annotations* must be a "
|
"Set the annotations for the function object *op*. *annotations* must be a "
|
||||||
"dictionary or ``Py_None``."
|
"dictionary or ``Py_None``."
|
||||||
msgstr ""
|
msgstr "Définir les annotations pour l'objet de la fonction *op*. *annotations* doit être un "
|
||||||
|
"dictionnaire ou ``Py_None``."
|
||||||
|
|
Loading…
Reference in New Issue