11# Copyright (C) 2001-2020, Python Software Foundation
22# 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.
44# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
55# Check https://github.com/PyCampES/python-docs-es/blob/3.7/TRANSLATORS to get the list of volunteers
66#
7- #, fuzzy
87msgid ""
98msgstr ""
109"Project-Id-Version : Python 3.7\n "
1110"Report-Msgid-Bugs-To : \n "
1211"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 "
1513"Language-Team : python-doc-es (https://mail.python.org/mailman3/lists/docs-es. "
1614"python.org)\n "
1715"MIME-Version : 1.0\n "
1816"Content-Type : text/plain; charset=UTF-8\n "
1917"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 "
2022
2123#: ../Doc/c-api/allocation.rst:6
2224msgid "Allocating Objects on the Heap"
23- msgstr ""
25+ msgstr "Asignación de objetos en el montículo "
2426
2527#: ../Doc/c-api/allocation.rst:17
2628msgid ""
@@ -30,12 +32,18 @@ msgid ""
3032"detector's set of observed objects. Other fields of the object are not "
3133"affected."
3234msgstr ""
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."
3339
3440#: ../Doc/c-api/allocation.rst:26
3541msgid ""
3642"This does everything :c:func:`PyObject_Init` does, and also initializes the "
3743"length information for a variable-size object."
3844msgstr ""
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."
3947
4048#: ../Doc/c-api/allocation.rst:32
4149msgid ""
@@ -45,6 +53,11 @@ msgid ""
4553"the memory allocation is determined from the :c:member:`~PyTypeObject."
4654"tp_basicsize` field of the type object."
4755msgstr ""
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."
4861
4962#: ../Doc/c-api/allocation.rst:41
5063msgid ""
@@ -57,6 +70,15 @@ msgid ""
5770"Embedding the array of fields into the same allocation decreases the number "
5871"of allocations, improving the memory management efficiency."
5972msgstr ""
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."
6082
6183#: ../Doc/c-api/allocation.rst:53
6284msgid ""
@@ -66,18 +88,26 @@ msgid ""
6688"fields of the object should not be accessed after this call as the memory is "
6789"no longer a valid Python object."
6890msgstr ""
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."
6996
7097#: ../Doc/c-api/allocation.rst:62
7198msgid ""
7299"Object which is visible in Python as ``None``. This should only be accessed "
73100"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
74101"object."
75102msgstr ""
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."
76106
77107#: ../Doc/c-api/allocation.rst:69
78108msgid ":c:func:`PyModule_Create`"
79- msgstr ""
109+ msgstr ":c:func:`PyModule_Create` "
80110
81111#: ../Doc/c-api/allocation.rst:70
82112msgid "To allocate and create extension modules."
83- msgstr ""
113+ msgstr "Para asignar y crear módulos de extensión. "
0 commit comments