forked from AFPy/python-docs-fr
c-api/code: Done.
This commit is contained in:
parent
3cf6ea016c
commit
eba48b219b
|
@ -9,7 +9,7 @@ msgstr ""
|
|||
"Project-Id-Version: Python 3.6\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2017-11-27 11:44+0100\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: fr\n"
|
||||
|
@ -27,7 +27,7 @@ msgid ""
|
|||
"represents a chunk of executable code that hasn't yet been bound into a "
|
||||
"function."
|
||||
msgstr ""
|
||||
"Les objets Code sont un détail bas-niveau de l'implémentation CPython. "
|
||||
"Les objets *Code* sont spécifiques à l'implémentation bas niveau de CPython. "
|
||||
"Chacun d'eux représente une partie de code exécutable, qui n'a pas encore "
|
||||
"été lié dans une fonction."
|
||||
|
||||
|
@ -36,20 +36,24 @@ msgid ""
|
|||
"The C structure of the objects used to describe code objects. The fields of "
|
||||
"this type are subject to change at any time."
|
||||
msgstr ""
|
||||
"La structure C utilisée pour décrire les objets *Code*. Les attributs de "
|
||||
"cette structure sont sujets à changer à tout moment."
|
||||
|
||||
#: ../Doc/c-api/code.rst:24
|
||||
msgid ""
|
||||
"This is an instance of :c:type:`PyTypeObject` representing the Python :class:"
|
||||
"`code` type."
|
||||
msgstr ""
|
||||
"C'est une instance de :c:type:`PyTypeObject` représentant le type Python :"
|
||||
"class:`code`."
|
||||
|
||||
#: ../Doc/c-api/code.rst:30
|
||||
msgid "Return true if *co* is a :class:`code` object."
|
||||
msgstr ""
|
||||
msgstr "Renvoie vrai si *co* est un objet :class:`code`."
|
||||
|
||||
#: ../Doc/c-api/code.rst:34
|
||||
msgid "Return the number of free variables in *co*."
|
||||
msgstr ""
|
||||
msgstr "Renvoie le nombre de variables libres dans *co*."
|
||||
|
||||
#: ../Doc/c-api/code.rst:38
|
||||
msgid ""
|
||||
|
@ -58,6 +62,10 @@ msgid ""
|
|||
"directly can bind you to a precise Python version since the definition of "
|
||||
"the bytecode changes often."
|
||||
msgstr ""
|
||||
"Renvoie un nouvel objet *code*. Si vous avez besoin d'un objet code factice "
|
||||
"pour créer une *frame*, utilisez plutôt :c:func:`PyCode_NewEmpty`. Appeler :"
|
||||
"c:func:`PyCode_New` peut vous lier directement à une version spécifique de "
|
||||
"Python, le *bytecode* étant sujet à modifications."
|
||||
|
||||
#: ../Doc/c-api/code.rst:46
|
||||
msgid ""
|
||||
|
@ -65,3 +73,6 @@ msgid ""
|
|||
"and first line number. It is illegal to :func:`exec` or :func:`eval` the "
|
||||
"resulting code object."
|
||||
msgstr ""
|
||||
"Renvoie un nouvel objet *code* avec le nom de fichier, le nom de fonction, "
|
||||
"et le numéro de première ligne donnés. Il n'est pas permis d'utiliser :func:"
|
||||
"`exec` ou :func:`eval` sur l'objet renvoyé."
|
||||
|
|
Loading…
Reference in New Issue