1
1
# Copyright (C) 2001-2020, Python Software Foundation
2
2
# This file is distributed under the same license as the Python package.
3
- # Maintained by the python-doc-es workteam.
3
+ # Maintained by the python-doc-es workteam.
4
4
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
5
5
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
6
6
#
7
- #, fuzzy
8
7
msgid ""
9
8
msgstr ""
10
9
"Project-Id-Version : Python 3.8\n "
11
10
"Report-Msgid-Bugs-To : \n "
12
11
"POT-Creation-Date : 2019-05-06 11:59-0400\n "
13
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
14
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
12
+ "PO-Revision-Date : 2020-05-08 01:33+0200\n "
15
13
"Language-Team : python-doc-es\n "
16
- "python.org)\n "
17
14
"MIME-Version : 1.0\n "
18
15
"Content-Type : text/plain; charset=UTF-8\n "
19
16
"Content-Transfer-Encoding : 8bit\n "
17
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
18
+ "Last-Translator : \n "
19
+ "Language : es\n "
20
+ "X-Generator : Poedit 2.3\n "
20
21
21
22
#: ../Doc/c-api/allocation.rst:6
22
23
msgid "Allocating Objects on the Heap"
23
- msgstr ""
24
+ msgstr "Asignación de objetos en el montículo "
24
25
25
26
#: ../Doc/c-api/allocation.rst:17
26
27
msgid ""
@@ -30,12 +31,18 @@ msgid ""
30
31
"detector's set of observed objects. Other fields of the object are not "
31
32
"affected."
32
33
msgstr ""
34
+ "Inicializa un objeto *op* recientemente asignado con su tipo y referencia "
35
+ "inicial. Retorna el objeto inicializado. Si *type* indica que el objeto "
36
+ "participa en el detector de basura cíclico, se agrega al conjunto de objetos "
37
+ "observados del detector. Otros campos del objeto no se ven afectados."
33
38
34
39
#: ../Doc/c-api/allocation.rst:26
35
40
msgid ""
36
41
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
37
42
"length information for a variable-size object."
38
43
msgstr ""
44
+ "Esto hace todo lo que :c:func:`PyObject_Init` hace, y también inicializa la "
45
+ "información de longitud para un objeto de tamaño variable."
39
46
40
47
#: ../Doc/c-api/allocation.rst:32
41
48
msgid ""
@@ -45,6 +52,11 @@ msgid ""
45
52
"the memory allocation is determined from the :c:member:`~PyTypeObject."
46
53
"tp_basicsize` field of the type object."
47
54
msgstr ""
55
+ "Asigna un nuevo objeto Python usando el tipo de estructura de C *TYPE* y el "
56
+ "objeto tipo Python *type*. Los campos no definidos por el encabezado del "
57
+ "objeto Python no se inicializan;el conteo de referencias del objeto será "
58
+ "uno. El tamaño de la asignación de memoria se determina a partir del campo :"
59
+ "c:member:`~PyTypeObject.tp_basicsize` del tipo de objeto."
48
60
49
61
#: ../Doc/c-api/allocation.rst:41
50
62
msgid ""
@@ -57,6 +69,15 @@ msgid ""
57
69
"Embedding the array of fields into the same allocation decreases the number "
58
70
"of allocations, improving the memory management efficiency."
59
71
msgstr ""
72
+ "Asigna un nuevo objeto Python usando el tipo de estructura de C *TYPE* y el "
73
+ "objeto tipo Python *type*. Los campos no definidos por el encabezado del "
74
+ "objeto Python no se inicializan. La memoria asignada permite los campos de "
75
+ "la estructura *TYPE* más los campos *size* del tamaño dado por el campo :c:"
76
+ "member:`~PyTypeObject.tp_itemsize` de *type*. Esto es útil para implementar "
77
+ "objetos como tuplas, que pueden determinar su tamaño en el momento de la "
78
+ "construcción. Incrustar el arreglo de campos en la misma asignación "
79
+ "disminuye el número de asignaciones, mejorando la eficiencia de la gestión "
80
+ "de memoria."
60
81
61
82
#: ../Doc/c-api/allocation.rst:53
62
83
msgid ""
@@ -66,18 +87,26 @@ msgid ""
66
87
"fields of the object should not be accessed after this call as the memory is "
67
88
"no longer a valid Python object."
68
89
msgstr ""
90
+ "Libera memoria asignada a un objeto usando :c:func:`PyObject_New` o :c:func:"
91
+ "`PyObject_NewVar`. Esto normalmente se llama desde el manejador :c:member:"
92
+ "`~PyTypeObject.tp_dealloc` especificado en el tipo de objeto. No se debe "
93
+ "acceder a los campos del objeto después de esta llamada, ya que la memoria "
94
+ "ya no es un objeto Python válido."
69
95
70
96
#: ../Doc/c-api/allocation.rst:62
71
97
msgid ""
72
98
"Object which is visible in Python as ``None``. This should only be accessed "
73
99
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
74
100
"object."
75
101
msgstr ""
102
+ "Objeto que es visible en Python como ``None``. Esto solo se debe acceder "
103
+ "utilizando el macro :c:macro:`Py_None`, que se evalúa como un puntero a este "
104
+ "objeto."
76
105
77
106
#: ../Doc/c-api/allocation.rst:69
78
107
msgid ":c:func:`PyModule_Create`"
79
- msgstr ""
108
+ msgstr ":c:func:`PyModule_Create` "
80
109
81
110
#: ../Doc/c-api/allocation.rst:70
82
111
msgid "To allocate and create extension modules."
83
- msgstr ""
112
+ msgstr "Para asignar y crear módulos de extensión. "
0 commit comments