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