66# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77# get the list of volunteers
88#
9- #, fuzzy
109msgid ""
1110msgstr ""
1211"Project-Id-Version : Python 3.8\n "
1312"Report-Msgid-Bugs-To : \n "
1413"POT-Creation-Date : 2020-05-05 12:54+0200\n "
15- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
16- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14+ "PO-Revision-Date : 2020-05-16 18:25+0200\n "
1715"Language-Team : python-doc-es\n "
1816"MIME-Version : 1.0\n "
19- "Content-Type : text/plain; charset=utf -8\n "
17+ "Content-Type : text/plain; charset=UTF -8\n "
2018"Content-Transfer-Encoding : 8bit\n "
2119"Generated-By : Babel 2.8.0\n "
20+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
21+ "
Last-Translator :
Cristián Maureira-Fredes <[email protected] >\n "
22+ "Language : es\n "
23+ "X-Generator : Poedit 2.3\n "
2224
2325#: ../Doc/c-api/set.rst:6
2426msgid "Set Objects"
25- msgstr ""
27+ msgstr "Objetos Conjunto "
2628
2729#: ../Doc/c-api/set.rst:15
2830msgid ""
@@ -37,6 +39,16 @@ msgid ""
3739"c:func:`PyNumber_InPlaceSubtract`, :c:func:`PyNumber_InPlaceOr`, and :c:func:"
3840"`PyNumber_InPlaceXor`)."
3941msgstr ""
42+ "Esta sección detalla la API pública para objetos :class:`set` y :class:"
43+ "`frozenset`. Se puede acceder mejor a cualquier funcionalidad que no se "
44+ "enumere a continuación utilizando el protocolo de objeto abstracto (que "
45+ "incluye :c:func:`PyObject_CallMethod`, :c:func:`PyObject_RichCompareBool`, :"
46+ "c:func:`PyObject_Hash`, :c:func:`PyObject_Repr`, :c:func:`PyObject_IsTrue`, :"
47+ "c:func:`PyObject_Print`, y :c:func:`PyObject_GetIter`) o el protocolo de "
48+ "número abstracto (que incluye :c:func:`PyNumber_And`, :c:func:"
49+ "`PyNumber_Subtract`, :c:func:`PyNumber_Or`, :c:func:`PyNumber_Xor`, :c:func:"
50+ "`PyNumber_InPlaceAnd`, :c:func:`PyNumber_InPlaceSubtract`, :c:func:"
51+ "`PyNumber_InPlaceOr`, y :c:func:`PyNumber_InPlaceXor`)."
4052
4153#: ../Doc/c-api/set.rst:29
4254msgid ""
@@ -49,53 +61,79 @@ msgid ""
4961"access should be done through the documented API rather than by manipulating "
5062"the values in the structure."
5163msgstr ""
64+ "Este subtipo de :c:type:`PyObject` se utiliza para contener los datos "
65+ "internos de los objetos :class:`set` y :class:`frozenset`. Es como un :c:"
66+ "type:`PyDictObject` en el sentido de que es un tamaño fijo para conjuntos "
67+ "pequeños (muy parecido al almacenamiento de tuplas) y apuntará a un bloque "
68+ "de memoria separado de tamaño variable para conjuntos de tamaño medio y "
69+ "grande (muy similar a la lista almacenamiento). Ninguno de los campos de "
70+ "esta estructura debe considerarse público y está sujeto a cambios. Todo el "
71+ "acceso debe hacerse a través de la API documentada en lugar de manipular los "
72+ "valores en la estructura."
5273
5374#: ../Doc/c-api/set.rst:40
5475msgid ""
5576"This is an instance of :c:type:`PyTypeObject` representing the Python :class:"
5677"`set` type."
5778msgstr ""
79+ "Esta es una instancia de :c:type:`PyTypeObject` que representa el tipo "
80+ "Python :class:`set`."
5881
5982#: ../Doc/c-api/set.rst:46
6083msgid ""
6184"This is an instance of :c:type:`PyTypeObject` representing the Python :class:"
6285"`frozenset` type."
6386msgstr ""
87+ "Esta es una instancia de :c:type:`PyTypeObject` que representa el tipo "
88+ "Python :class:`frozenset`."
6489
6590#: ../Doc/c-api/set.rst:49
6691msgid ""
6792"The following type check macros work on pointers to any Python object. "
6893"Likewise, the constructor functions work with any iterable Python object."
6994msgstr ""
95+ "Los siguientes macros de comprobación de tipos funcionan en punteros a "
96+ "cualquier objeto de Python. Del mismo modo, las funciones del constructor "
97+ "funcionan con cualquier objeto Python iterable."
7098
7199#: ../Doc/c-api/set.rst:55
72100msgid ""
73101"Return true if *p* is a :class:`set` object or an instance of a subtype."
74102msgstr ""
103+ "Retorna verdadero si *p* es un objeto :class:`set` o una instancia de un "
104+ "subtipo."
75105
76106#: ../Doc/c-api/set.rst:59
77107msgid ""
78108"Return true if *p* is a :class:`frozenset` object or an instance of a "
79109"subtype."
80110msgstr ""
111+ "Retorna verdadero si *p* es un objeto :class:`frozenset` o una instancia de "
112+ "un subtipo."
81113
82114#: ../Doc/c-api/set.rst:64
83115msgid ""
84116"Return true if *p* is a :class:`set` object, a :class:`frozenset` object, or "
85117"an instance of a subtype."
86118msgstr ""
119+ "Retorna verdadero si *p* es un objeto :class:`set`, un objeto :class:"
120+ "`frozenset`, o una instancia de un subtipo."
87121
88122#: ../Doc/c-api/set.rst:70
89123msgid ""
90124"Return true if *p* is a :class:`set` object or a :class:`frozenset` object "
91125"but not an instance of a subtype."
92126msgstr ""
127+ "Retorna verdadero si *p* es un objeto :class:`set` o un objeto :class:"
128+ "`frozenset` pero no una instancia de un subtipo."
93129
94130#: ../Doc/c-api/set.rst:76
95131msgid ""
96132"Return true if *p* is a :class:`frozenset` object but not an instance of a "
97133"subtype."
98134msgstr ""
135+ "Retorna verdadero si *p* es un objeto :class:`frozenset` pero no una "
136+ "instancia de un subtipo."
99137
100138#: ../Doc/c-api/set.rst:82
101139msgid ""
@@ -105,6 +143,11 @@ msgid ""
105143"is not actually iterable. The constructor is also useful for copying a set "
106144"(``c=set(s)``)."
107145msgstr ""
146+ "Retorna un nuevo :class:`set` que contiene objetos retornados por "
147+ "*iterable*. El *iterable* puede ser ``NULL`` para crear un nuevo conjunto "
148+ "vacío. Retorna el nuevo conjunto en caso de éxito o ``NULL`` en caso de "
149+ "error. Lanza :exc:`TypeError` si *iterable* no es realmente iterable. El "
150+ "constructor también es útil para copiar un conjunto (``c=set(s)``)."
108151
109152#: ../Doc/c-api/set.rst:91
110153msgid ""
@@ -113,23 +156,32 @@ msgid ""
113156"Return the new set on success or ``NULL`` on failure. Raise :exc:"
114157"`TypeError` if *iterable* is not actually iterable."
115158msgstr ""
159+ "Retorna un nuevo :class:`frozenset` que contiene objetos devueltos por "
160+ "*iterable*. El *iterable* puede ser ``NULL`` para crear un nuevo conjunto "
161+ "congelado vacío. Retorna el nuevo conjunto en caso de éxito o ``NULL`` en "
162+ "caso de error. Lanza :exc:`TypeError` si *iterable* no es realmente iterable."
116163
117164#: ../Doc/c-api/set.rst:97
118165msgid ""
119166"The following functions and macros are available for instances of :class:"
120167"`set` or :class:`frozenset` or instances of their subtypes."
121168msgstr ""
169+ "Las siguientes funciones y macros están disponibles para instancias de :"
170+ "class:`set` o :class:`frozenset` o instancias de sus subtipos."
122171
123172#: ../Doc/c-api/set.rst:105
124173msgid ""
125174"Return the length of a :class:`set` or :class:`frozenset` object. Equivalent "
126175"to ``len(anyset)``. Raises a :exc:`PyExc_SystemError` if *anyset* is not a :"
127176"class:`set`, :class:`frozenset`, or an instance of a subtype."
128177msgstr ""
178+ "Retorna la longitud de un objeto :class:`set` o :class:`frozenset`. "
179+ "Equivalente a ``len(anyset)``. Lanza un :exc:`PyExc_SystemError` si *anyset* "
180+ "no es :class:`set`, :class:`frozenset`, o una instancia de un subtipo."
129181
130182#: ../Doc/c-api/set.rst:112
131183msgid "Macro form of :c:func:`PySet_Size` without error checking."
132- msgstr ""
184+ msgstr "Forma macro de :c:func:`PySet_Size` sin comprobación de errores. "
133185
134186#: ../Doc/c-api/set.rst:117
135187msgid ""
@@ -140,6 +192,12 @@ msgid ""
140192"`PyExc_SystemError` if *anyset* is not a :class:`set`, :class:`frozenset`, "
141193"or an instance of a subtype."
142194msgstr ""
195+ "Retorna ``1`` si se encuentra, ``0`` si no se encuentra y ``-1`` si se "
196+ "encuentra un error. A diferencia del método Python :meth:`__contains__`, "
197+ "esta función no convierte automáticamente conjuntos no compartibles en "
198+ "congelados temporales. Lanza un :exc:`TypeError` si la *key* no se puede "
199+ "compartir. Lanza :exc:`PyExc_SystemError` si *anyset* no es un :class:"
200+ "`set`, :class:`frozenset`, o una instancia de un subtipo."
143201
144202#: ../Doc/c-api/set.rst:126
145203msgid ""
@@ -151,12 +209,21 @@ msgid ""
151209"grow. Raise a :exc:`SystemError` if *set* is not an instance of :class:"
152210"`set` or its subtype."
153211msgstr ""
212+ "Agrega *key* a una instancia de :class:`set`. También funciona con "
213+ "instancias :class:`frozenset` (como :c:func:`PyTuple_SetItem` se puede usar "
214+ "para completar los valores de los *frozensets* nuevos antes de que estén "
215+ "expuestos a otro código). Devuelve ``0`` en caso de éxito o ``-1`` en caso "
216+ "de error. Lanza un :exc:`TypeError` si la *key* no se puede compartir. Lanza "
217+ "un :exc:`MemoryError` si no hay espacio para crecer. Lanza un :exc:"
218+ "`SystemError` si *set* no es una instancia de :class:`set` o su subtipo."
154219
155220#: ../Doc/c-api/set.rst:135
156221msgid ""
157222"The following functions are available for instances of :class:`set` or its "
158223"subtypes but not for instances of :class:`frozenset` or its subtypes."
159224msgstr ""
225+ "Las siguientes funciones están disponibles para instancias de :class:`set` o "
226+ "sus subtipos, pero no para instancias de :class:`frozenset` o sus subtipos."
160227
161228#: ../Doc/c-api/set.rst:141
162229msgid ""
@@ -168,6 +235,13 @@ msgid ""
168235"`PyExc_SystemError` if *set* is not an instance of :class:`set` or its "
169236"subtype."
170237msgstr ""
238+ "Retorna ``1`` si se encuentra y se elimina, ``0`` si no se encuentra (no se "
239+ "realiza ninguna acción) y ``-1`` si se encuentra un error. No lanza :exc:"
240+ "`KeyError` por faltar claves. Lanza un :exc:`TypeError` si la *key* no se "
241+ "puede compartir. A diferencia del método Python :meth:`~set.discard`, esta "
242+ "función no convierte automáticamente conjuntos no compartibles en congelados "
243+ "temporales. Lanza :exc:`PyExc_SystemError` si *set* no es una instancia de :"
244+ "class:`set` o su subtipo."
171245
172246#: ../Doc/c-api/set.rst:151
173247msgid ""
@@ -176,11 +250,15 @@ msgid ""
176250"if the set is empty. Raise a :exc:`SystemError` if *set* is not an instance "
177251"of :class:`set` or its subtype."
178252msgstr ""
253+ "Retorna una nueva referencia a un objeto arbitrario en el *set* y elimina el "
254+ "objeto del *set*. Retorna ``NULL`` en caso de falla. Lanza :exc:`KeyError` "
255+ "si el conjunto está vacío. Lanza a :exc:`SystemError` si *set* no es una "
256+ "instancia de :class:`set` o su subtipo."
179257
180258#: ../Doc/c-api/set.rst:159
181259msgid "Empty an existing set of all elements."
182- msgstr ""
260+ msgstr "Vacía un conjunto existente de todos los elementos. "
183261
184262#: ../Doc/c-api/set.rst:164
185263msgid "Clear the free list. Return the total number of freed items."
186- msgstr ""
264+ msgstr "Borra la lista libre. Retorna el número total de artículos liberados. "
0 commit comments