@@ -27,8 +27,8 @@ msgid ""
2727"detector's set of observed objects. Other fields of the object are not "
2828"affected."
2929msgstr ""
30- "Permet d'initialiser un objet *op* nouvellement alloué ainsi que son type et "
31- "sa référence initiale. Renvoie l'objet initialisé. La présence de *type* "
30+ "Permet d'initialiser un objet *op* nouvellement alloué ainsi que son type et"
31+ " sa référence initiale. Renvoie l'objet initialisé. La présence de *type* "
3232"indique que l'objet doit être traité par le détecteur d'ordures cycliques, "
3333"il est de ce fait ajouté à l'ensemble du détecteur d'objets observés. Les "
3434"autres champs de l'objet ne sont pas affectés."
@@ -47,53 +47,54 @@ msgid ""
4747"Allocate a new Python object using the C structure type *TYPE* and the "
4848"Python type object *type*. Fields not defined by the Python object header "
4949"are not initialized; the object's reference count will be one. The size of "
50- "the memory allocation is determined from the :c:member:`~PyTypeObject. "
51- "tp_basicsize` field of the type object."
50+ "the memory allocation is determined from the "
51+ ":c:member:`~PyTypeObject. tp_basicsize` field of the type object."
5252msgstr ""
5353"Alloue un nouvel objet Python en utilisant le type de structure C *TYPE* et "
5454"l'objet Python *type*. Les champs non définis par l'en-tête de l'objet "
5555"Python ne sont pas initialisés; le compteur de la référence objet sera égal "
56- "à un. La taille de l'allocation mémoire est déterminée par le champ :c: "
57- "member:`~PyTypeObject.tp_basicsize` de l'objet type."
56+ "à un. La taille de l'allocation mémoire est déterminée par le champ "
57+ ":c: member:`~PyTypeObject.tp_basicsize` de l'objet type."
5858
5959#: ../Doc/c-api/allocation.rst:41
6060msgid ""
6161"Allocate a new Python object using the C structure type *TYPE* and the "
6262"Python type object *type*. Fields not defined by the Python object header "
6363"are not initialized. The allocated memory allows for the *TYPE* structure "
64- "plus *size* fields of the size given by the :c:member:`~PyTypeObject."
65- "tp_itemsize` field of *type*. This is useful for implementing objects like "
66- "tuples, which are able to determine their size at construction time. "
67- "Embedding the array of fields into the same allocation decreases the number "
68- "of allocations, improving the memory management efficiency."
64+ "plus *size* fields of the size given by the "
65+ ":c:member:`~PyTypeObject.tp_itemsize` field of *type*. This is useful for "
66+ "implementing objects like tuples, which are able to determine their size at "
67+ "construction time. Embedding the array of fields into the same allocation "
68+ "decreases the number of allocations, improving the memory management "
69+ "efficiency."
6970msgstr ""
7071"Alloue un nouvel objet Python en utilisant le type de structure C *TYPE* et "
7172"l'objet Python de type *type*. Les champs non définis par l'en-tête de "
7273"l'objet Python ne sont pas initialisés. La mémoire allouée est suffisante "
73- "pour la structure *TYPE* plus *size* champs de la taille donnée par le champ "
74- "de *type* :c:member:`~PyTypeObject.tp_itemsize`. Ceci est utile pour "
74+ "pour la structure *TYPE* plus *size* champs de la taille donnée par le champ"
75+ " de *type* :c:member:`~PyTypeObject.tp_itemsize`. Ceci est utile pour "
7576"l'implémentation d'objets comme les tuples, qui sont capables de déterminer "
7677"leur taille à la construction. Allouer les champs en même temps que l'objet "
7778"diminue le nombre d'allocations, améliorant ainsi les performances."
7879
7980#: ../Doc/c-api/allocation.rst:53
8081msgid ""
81- "Releases memory allocated to an object using :c:func:`PyObject_New` or :c: "
82- "func:`PyObject_NewVar`. This is normally called from the :c:member: "
83- "`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
84- "fields of the object should not be accessed after this call as the memory is "
85- "no longer a valid Python object."
82+ "Releases memory allocated to an object using :c:func:`PyObject_New` or "
83+ ":c: func:`PyObject_NewVar`. This is normally called from the "
84+ ":c:member: `~PyTypeObject.tp_dealloc` handler specified in the object's type."
85+ " The fields of the object should not be accessed after this call as the "
86+ "memory is no longer a valid Python object."
8687msgstr ""
87- "Libère la mémoire allouée à un objet utilisant :c:func:`PyObject_New` ou :c: "
88- "func:`PyObject_NewVar`. Ceci est normalement appelé par le gestionnaire :c: "
89- "member:`~PyTypeObject.tp_dealloc` spécifié dans le type d'objet. Les champs "
90- "de l'objet ne doivent plus être accédés après cet appel puisque cet "
88+ "Libère la mémoire allouée à un objet utilisant :c:func:`PyObject_New` ou "
89+ ":c: func:`PyObject_NewVar`. Ceci est normalement appelé par le gestionnaire "
90+ ":c: member:`~PyTypeObject.tp_dealloc` spécifié dans le type d'objet. Les "
91+ "champs de l'objet ne doivent plus être accédés après cet appel puisque cet "
9192"emplacement mémoire ne correspond plus à un objet Python valide."
9293
9394#: ../Doc/c-api/allocation.rst:62
9495msgid ""
95- "Object which is visible in Python as ``None``. This should only be accessed "
96- "using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
96+ "Object which is visible in Python as ``None``. This should only be accessed"
97+ " using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
9798"object."
9899msgstr ""
99100"Objet qui est visible en tant que ``None`` dans Python. Ne devrait être "
0 commit comments