Skip to content

Commit 404b261

Browse files
authored
Merge pull request #278 from cmaureir/traduccion-set
Traducido c-api/set
2 parents 904cd78 + 322e6f5 commit 404b261

File tree

1 file changed

+86
-8
lines changed

1 file changed

+86
-8
lines changed

c-api/set.po

+86-8
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,25 @@
66
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77
# get the list of volunteers
88
#
9-
#, fuzzy
109
msgid ""
1110
msgstr ""
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 <cmaureirafredes@gmail.com>\n"
22+
"Language: es\n"
23+
"X-Generator: Poedit 2.3\n"
2224

2325
#: ../Doc/c-api/set.rst:6
2426
msgid "Set Objects"
25-
msgstr ""
27+
msgstr "Objetos Conjunto"
2628

2729
#: ../Doc/c-api/set.rst:15
2830
msgid ""
@@ -37,6 +39,16 @@ msgid ""
3739
"c:func:`PyNumber_InPlaceSubtract`, :c:func:`PyNumber_InPlaceOr`, and :c:func:"
3840
"`PyNumber_InPlaceXor`)."
3941
msgstr ""
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
4254
msgid ""
@@ -49,53 +61,79 @@ msgid ""
4961
"access should be done through the documented API rather than by manipulating "
5062
"the values in the structure."
5163
msgstr ""
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
5475
msgid ""
5576
"This is an instance of :c:type:`PyTypeObject` representing the Python :class:"
5677
"`set` type."
5778
msgstr ""
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
6083
msgid ""
6184
"This is an instance of :c:type:`PyTypeObject` representing the Python :class:"
6285
"`frozenset` type."
6386
msgstr ""
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
6691
msgid ""
6792
"The following type check macros work on pointers to any Python object. "
6893
"Likewise, the constructor functions work with any iterable Python object."
6994
msgstr ""
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
72100
msgid ""
73101
"Return true if *p* is a :class:`set` object or an instance of a subtype."
74102
msgstr ""
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
77107
msgid ""
78108
"Return true if *p* is a :class:`frozenset` object or an instance of a "
79109
"subtype."
80110
msgstr ""
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
83115
msgid ""
84116
"Return true if *p* is a :class:`set` object, a :class:`frozenset` object, or "
85117
"an instance of a subtype."
86118
msgstr ""
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
89123
msgid ""
90124
"Return true if *p* is a :class:`set` object or a :class:`frozenset` object "
91125
"but not an instance of a subtype."
92126
msgstr ""
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
95131
msgid ""
96132
"Return true if *p* is a :class:`frozenset` object but not an instance of a "
97133
"subtype."
98134
msgstr ""
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
101139
msgid ""
@@ -105,6 +143,11 @@ msgid ""
105143
"is not actually iterable. The constructor is also useful for copying a set "
106144
"(``c=set(s)``)."
107145
msgstr ""
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
110153
msgid ""
@@ -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."
115158
msgstr ""
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
118165
msgid ""
119166
"The following functions and macros are available for instances of :class:"
120167
"`set` or :class:`frozenset` or instances of their subtypes."
121168
msgstr ""
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
124173
msgid ""
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."
128177
msgstr ""
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
131183
msgid "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
135187
msgid ""
@@ -140,6 +192,12 @@ msgid ""
140192
"`PyExc_SystemError` if *anyset* is not a :class:`set`, :class:`frozenset`, "
141193
"or an instance of a subtype."
142194
msgstr ""
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
145203
msgid ""
@@ -151,12 +209,21 @@ msgid ""
151209
"grow. Raise a :exc:`SystemError` if *set* is not an instance of :class:"
152210
"`set` or its subtype."
153211
msgstr ""
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
156221
msgid ""
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."
159224
msgstr ""
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
162229
msgid ""
@@ -168,6 +235,13 @@ msgid ""
168235
"`PyExc_SystemError` if *set* is not an instance of :class:`set` or its "
169236
"subtype."
170237
msgstr ""
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
173247
msgid ""
@@ -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."
178252
msgstr ""
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
181259
msgid "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
185263
msgid "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

Comments
 (0)