Skip to content

Commit 6071c2f

Browse files
Traducido archivo c-api/allocation (#3380)
Closes #3230
1 parent d55c6fe commit 6071c2f

File tree

1 file changed

+36
-38
lines changed

1 file changed

+36
-38
lines changed

c-api/allocation.po

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"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"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.13.0\n"
23+
"X-Generator: Poedit 3.6\n"
2324

2425
#: ../Doc/c-api/allocation.rst:6
2526
msgid "Allocating Objects on the Heap"
2627
msgstr "Asignación de objetos en el montículo"
2728

2829
#: ../Doc/c-api/allocation.rst:17
29-
#, fuzzy
3030
msgid ""
3131
"Initialize a newly allocated object *op* with its type and initial "
3232
"reference. Returns the initialized object. If *type* indicates that the "
3333
"object participates in the cyclic garbage detector, it is added to the "
3434
"detector's set of observed objects. Other fields of the object are not "
3535
"affected."
3636
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."
4141

4242
#: ../Doc/c-api/allocation.rst:26
4343
msgid ""
@@ -48,23 +48,22 @@ msgstr ""
4848
"información de longitud para un objeto de tamaño variable."
4949

5050
#: ../Doc/c-api/allocation.rst:32
51-
#, fuzzy
5251
msgid ""
5352
"Allocate a new Python object using the C structure type *TYPE* and the "
5453
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
5554
"Python object header are not initialized. The caller will own the only "
5655
"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."
5958
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."
6565

6666
#: ../Doc/c-api/allocation.rst:43
67-
#, fuzzy
6867
msgid ""
6968
"Allocate a new Python object using the C structure type *TYPE* and the "
7069
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -76,30 +75,29 @@ msgid ""
7675
"same allocation decreases the number of allocations, improving the memory "
7776
"management efficiency."
7877
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."
8887

8988
#: ../Doc/c-api/allocation.rst:57
90-
#, fuzzy
9189
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."
9795
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."
103101

104102
#: ../Doc/c-api/allocation.rst:66
105103
msgid ""

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy