Update extending.po

Continue...
This commit is contained in:
Wyllich 2016-01-21 11:51:07 +01:00
parent 670a355317
commit 5a2e9ba0c3

View File

@ -1175,24 +1175,39 @@ msgid ""
"which it points (so in Standard C, the variable :c:data:`command` should "
"properly be declared as ``const char *command``)."
msgstr ""
"Elle retourne *NULL* (l'indicateur d'erreur pour les fonctions retournant"
"des pointeurs d'objet) si une erreur est detectée dans la liste des arguments,"
"reposant sur l'exception définie par :c:func:`PyArg_ParseTuple`. Autrement,"
"la valeur chaîne de l'argument a été copiée dans la variable locale :c:data:"
"`command`. Il s'agit d'une attribution de pointeur et vous n'êtes pas supposés"
"modifier la chaîne qui vers laquelle il pointe (donc en C Standard, la variable"
":c:data:`command` doit être clairement déclarée comme ``const char *command``)."
#: extending/extending.rst:276
msgid ""
"The next statement is a call to the Unix function :c:func:`system`, passing "
"it the string we just got from :c:func:`PyArg_ParseTuple`::"
msgstr ""
"La prochaine déclaration est un appel à la fonction Unic :c:func:`system`, en lui"
"passant la chaîne que nous venons d'obtenir à partir de :c:func:`PyArg_ParseTuple`::"
#: extending/extending.rst:281
msgid ""
"Our :func:`spam.system` function must return the value of :c:data:`sts` as a "
"Python object. This is done using the function :c:func:`PyLong_FromLong`. ::"
msgstr ""
"Notre fonction :func:`spam.system` doit retourner la valeur de :c:data:`sts` comme"
"un objet Python. Cela est effectué par l'utilisation de la fonction :c:func:"
"`PyLong_FromLong`. ::"
#: extending/extending.rst:286
msgid ""
"In this case, it will return an integer object. (Yes, even integers are "
"objects on the heap in Python!)"
msgstr ""
"Dans ce cas, elle retournera un objet entier. (Oui, même les entiers sont "
"des objets dans le tas en Python!)"
#: extending/extending.rst:289
msgid ""
@ -1201,6 +1216,10 @@ msgid ""
"``None``. You need this idiom to do so (which is implemented by the :c:"
"macro:`Py_RETURN_NONE` macro)::"
msgstr ""
"Si vous avez une C fonction qui ne retourne aucun argument utile (une fonction "
"retournant :c:type:`void`), la fonction Python correspondante doit retourner "
"``None``. Vous aurez besoin de cett locution pour cela (qui est implémentée "
"par la macro :c:macro:`Py_RETURN_NONE`)::"
#: extending/extending.rst:297
msgid ""
@ -1208,6 +1227,9 @@ msgid ""
"is a genuine Python object rather than a *NULL* pointer, which means \"error"
"\" in most contexts, as we have seen."
msgstr ""
":c:data:`Py_None` est le nom C pour l'objet spécial Python ``None``. C'est "
"un authentique objet Python plutôt qu'un pointeur *NULL*, qui signifie"
"\"error\" dans la plupart des situations, comme nous l'avons vu."
#: extending/extending.rst:305
msgid "The Module's Method Table and Initialization Function"