@@ -11,33 +11,33 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2023-10-12 19:43+0200\n "
14
- "PO-Revision-Date : 2020-05-08 01:33+0200\n "
15
- "Last-Translator : \n "
16
- "Language : es\n "
14
+ "PO-Revision-Date : 2025-04-09 21:56+0200\n "
15
+ "Last-Translator : David Spindola\n "
17
16
"Language-Team : python-doc-es\n "
18
- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
17
+ "Language : es \n "
19
18
"MIME-Version : 1.0\n "
20
19
"Content-Type : text/plain; charset=utf-8\n "
21
20
"Content-Transfer-Encoding : 8bit\n "
21
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
22
22
"Generated-By : Babel 2.13.0\n "
23
+ "X-Generator : Poedit 3.6\n "
23
24
24
25
#: ../Doc/c-api/allocation.rst:6
25
26
msgid "Allocating Objects on the Heap"
26
27
msgstr "Asignación de objetos en el montículo"
27
28
28
29
#: ../Doc/c-api/allocation.rst:17
29
- #, fuzzy
30
30
msgid ""
31
31
"Initialize a newly allocated object *op* with its type and initial "
32
32
"reference. Returns the initialized object. If *type* indicates that the "
33
33
"object participates in the cyclic garbage detector, it is added to the "
34
34
"detector's set of observed objects. Other fields of the object are not "
35
35
"affected."
36
36
msgstr ""
37
- "Inicializa un objeto *op* recientemente asignado con su tipo y referencia "
38
- "inicial. Retorna el objeto inicializado. Si *type* indica que el objeto "
39
- "participa en el detector de basura cíclico, se agrega al conjunto de objetos "
40
- "observados del detector. Otros campos del objeto no se ven afectados."
37
+ "Inicializa un objeto recién asignado *op* con su tipo y referencia inicial. "
38
+ "Retorna el objeto inicializado. Si *type* indica que el objeto participa en "
39
+ "el detector de basura cíclico, se agrega al conjunto de objetos observados "
40
+ "por el detector. Otros campos del objeto no se ven afectados."
41
41
42
42
#: ../Doc/c-api/allocation.rst:26
43
43
msgid ""
@@ -48,23 +48,22 @@ msgstr ""
48
48
"información de longitud para un objeto de tamaño variable."
49
49
50
50
#: ../Doc/c-api/allocation.rst:32
51
- #, fuzzy
52
51
msgid ""
53
52
"Allocate a new Python object using the C structure type *TYPE* and the "
54
53
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
55
54
"Python object header are not initialized. The caller will own the only "
56
55
"reference to the object (i.e. its reference count will be one). The size of "
57
- "the memory allocation is determined from the :c:member:`~PyTypeObject. "
58
- "tp_basicsize` field of the type object."
56
+ "the memory allocation is determined from "
57
+ "the :c:member:`~PyTypeObject. tp_basicsize` field of the type object."
59
58
msgstr ""
60
- "Asigna un nuevo objeto Python usando el tipo de estructura de C *TYPE* y el "
61
- "objeto tipo Python *type*. Los campos no definidos por el encabezado del "
62
- "objeto Python no se inicializan;el conteo de referencias del objeto será "
63
- "uno. El tamaño de la asignación de memoria se determina a partir del campo :"
64
- "c:member:`~PyTypeObject.tp_basicsize` del tipo de objeto."
59
+ "Asigna un nuevo objeto de Python usando el tipo de estructura de C *TYPE* y "
60
+ "el objeto de tipo Python *typeobj* (``PyTypeObject*``). Los campos no "
61
+ "definidos por el encabezado del objeto Python no se inicializan. El llamador "
62
+ "será el propietario de la única referencia al objeto (es decir, su contador "
63
+ "de referencias será uno). El tamaño de la asignación de memoria se determina "
64
+ "a partir del campo :c:member:`~PyTypeObject.tp_basicsize` del objeto de tipo."
65
65
66
66
#: ../Doc/c-api/allocation.rst:43
67
- #, fuzzy
68
67
msgid ""
69
68
"Allocate a new Python object using the C structure type *TYPE* and the "
70
69
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -76,30 +75,29 @@ msgid ""
76
75
"same allocation decreases the number of allocations, improving the memory "
77
76
"management efficiency."
78
77
msgstr ""
79
- "Asigna un nuevo objeto Python usando el tipo de estructura de C *TYPE* y el "
80
- "objeto tipo Python *type* . Los campos no definidos por el encabezado del "
81
- "objeto Python no se inicializan. La memoria asignada permite los campos de "
82
- "la estructura *TYPE* más los campos *size* del tamaño dado por el campo :c: "
83
- "member:`~PyTypeObject.tp_itemsize` de *type*. Esto es útil para implementar "
84
- "objetos como tuplas, que pueden determinar su tamaño en el momento de la "
85
- "construcción. Incrustar el arreglo de campos en la misma asignación "
86
- "disminuye el número de asignaciones, mejorando la eficiencia de la gestión "
87
- "de memoria."
78
+ "Asigna un nuevo objeto de Python utilizando el tipo de estructura de C "
79
+ "*TYPE* y el objeto de tipo Python *typeobj* (``PyTypeObject*``) . Los campos "
80
+ "no definidos por el encabezado del objeto Python no se inicializan. La "
81
+ "memoria asignada permite la estructura *TYPE* más *size* (``Py_ssize_t``) "
82
+ "campos del tamaño dado por el campo :c: member:`~PyTypeObject.tp_itemsize` de "
83
+ "*typeobj*. Esto es útil para implementar objetos como las tuplas, que pueden "
84
+ "determinar su tamaño en el momento de la construcción. Integrar el arreglo "
85
+ "de campos en la misma asignación disminuye el número de asignaciones, "
86
+ "mejorando la eficiencia de la gestión de memoria."
88
87
89
88
#: ../Doc/c-api/allocation.rst:57
90
- #, fuzzy
91
89
msgid ""
92
- "Releases memory allocated to an object using :c:macro:`PyObject_New` or :c: "
93
- "macro:`PyObject_NewVar`. This is normally called from the :c:member: "
94
- "`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
95
- "fields of the object should not be accessed after this call as the memory is "
96
- "no longer a valid Python object."
90
+ "Releases memory allocated to an object using :c:macro:`PyObject_New` "
91
+ "or :c: macro:`PyObject_NewVar`. This is normally called from "
92
+ "the :c:member: `~PyTypeObject.tp_dealloc` handler specified in the object's "
93
+ "type. The fields of the object should not be accessed after this call as "
94
+ "the memory is no longer a valid Python object."
97
95
msgstr ""
98
- "Libera memoria asignada a un objeto usando :c:func :`PyObject_New` o :c:func: "
99
- "`PyObject_NewVar`. Esto normalmente se llama desde el manejador :c:member: "
100
- "`~PyTypeObject.tp_dealloc` especificado en el tipo de objeto. No se debe "
101
- "acceder a los campos del objeto después de esta llamada, ya que la memoria "
102
- "ya no es un objeto Python válido."
96
+ "Libera la memoria asignada a un objeto usando :c:macro :`PyObject_New` "
97
+ "o :c:macro: `PyObject_NewVar`. Esto normalmente se llama desde el "
98
+ "manejador :c:member: `~PyTypeObject.tp_dealloc` especificado en el tipo de "
99
+ "objeto. Los campos del objeto no deben ser accedidos después de esta "
100
+ "llamada, ya que la memoria ya no es un objeto de Python válido."
103
101
104
102
#: ../Doc/c-api/allocation.rst:66
105
103
msgid ""
0 commit comments