@@ -12,7 +12,7 @@ msgstr ""
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2024-11-21 16:38-0300\n "
14
14
"PO-Revision-Date : 2021-08-01 20:11+0200\n "
15
- "Last-Translator : Cristián Maureira-Fredes <cmaureirafredes @gmail.com>\n "
15
+ "Last-Translator : Erick G. Islas-Osuna <erickisos653 @gmail.com>\n "
16
16
"Language : es\n "
17
17
"Language-Team : python-doc-es\n "
18
18
"Plural-Forms : nplurals=2; plural=(n != 1);\n "
@@ -35,15 +35,15 @@ msgid ""
35
35
"This instance of :c:type:`PyTypeObject` represents the Python list type. "
36
36
"This is the same object as :class:`list` in the Python layer."
37
37
msgstr ""
38
- "Esta instancia de :c:type:`PyTypeObject` representa el tipo de lista de "
39
- "Python. Este es el mismo objeto que :class:`list` en la capa de Python."
38
+ "Esta instancia de :c:type:`PyTypeObject` representa el tipo lista de Python. "
39
+ "Este es el mismo objeto que :class:`list` en la capa de Python."
40
40
41
41
#: ../Doc/c-api/list.rst:24
42
42
msgid ""
43
43
"Return true if *p* is a list object or an instance of a subtype of the list "
44
44
"type. This function always succeeds."
45
45
msgstr ""
46
- "Retorna verdadero si *p* es un objeto de lista o una instancia de un subtipo "
46
+ "Retorna verdadero si *p* es un objeto lista o una instancia de un subtipo "
47
47
"del tipo lista. Esta función siempre finaliza con éxito."
48
48
49
49
#: ../Doc/c-api/list.rst:30
@@ -61,21 +61,22 @@ msgstr ""
61
61
"caso de error."
62
62
63
63
#: ../Doc/c-api/list.rst:40
64
- #, fuzzy
65
64
msgid ""
66
65
"If *len* is greater than zero, the returned list object's items are set to "
67
- "``NULL``. Thus you cannot use abstract API functions such as :c:func: "
68
- "`PySequence_SetItem` or expose the object to Python code before setting all "
69
- "items to a real object with :c:func:`PyList_SetItem` or :c:func: "
70
- "`PyList_SET_ITEM()`. The following APIs are safe APIs before the list is "
71
- "fully initialized: :c:func:`PyList_SetItem()` and :c:func: "
72
- "`PyList_SET_ITEM()`."
66
+ "``NULL``. Thus you cannot use abstract API functions such "
67
+ "as :c:func: `PySequence_SetItem` or expose the object to Python code before "
68
+ "setting all items to a real object with :c:func:`PyList_SetItem` "
69
+ "or :c:func: `PyList_SET_ITEM()`. The following APIs are safe APIs before the "
70
+ "list is fully initialized: :c:func:`PyList_SetItem()` "
71
+ "and :c:func: `PyList_SET_ITEM()`."
73
72
msgstr ""
74
73
"Si *len* es mayor que cero, los elementos del objeto de la lista retornada "
75
74
"se establecen en ``NULL``. Por lo tanto, no puede utilizar funciones API "
76
75
"abstractas como :c:func:`PySequence_SetItem` o exponer el objeto al código "
77
- "Python antes de configurar todos los elementos en un objeto real con :c:func:"
78
- "`PyList_SetItem`."
76
+ "Python antes de configurar todos los elementos en un objeto real "
77
+ "con :c:func:`PyList_SetItem` o :c:func:`PyList_SET_ITEM()`. Las siguientes "
78
+ "APIs son APIs seguras antes de que la lista esté completamente "
79
+ "inicializada: :c:func:`PyList_SetItem()` y :c:func:`PyList_SET_ITEM()`."
79
80
80
81
#: ../Doc/c-api/list.rst:53
81
82
msgid ""
@@ -86,12 +87,10 @@ msgstr ""
86
87
"``len(list)`` en un objeto lista."
87
88
88
89
#: ../Doc/c-api/list.rst:59
89
- #, fuzzy
90
90
msgid "Similar to :c:func:`PyList_Size`, but without error checking."
91
- msgstr "Forma macro de :c:func:`PyList_Size` sin comprobación de errores."
91
+ msgstr "Similar a :c:func:`PyList_Size`, pero sin comprobación de errores."
92
92
93
93
#: ../Doc/c-api/list.rst:64
94
- #, fuzzy
95
94
msgid ""
96
95
"Return the object at position *index* in the list pointed to by *list*. The "
97
96
"position must be non-negative; indexing from the end of the list is not "
@@ -108,11 +107,12 @@ msgid ""
108
107
"Like :c:func:`PyList_GetItemRef`, but returns a :term:`borrowed reference` "
109
108
"instead of a :term:`strong reference`."
110
109
msgstr ""
110
+ "Como :c:func:`PyList_GetItemRef`, pero retorna una :term:`referencia "
111
+ "prestada` en lugar de una :term:`referencia fuerte`."
111
112
112
113
#: ../Doc/c-api/list.rst:80
113
- #, fuzzy
114
114
msgid "Similar to :c:func:`PyList_GetItem`, but without error checking."
115
- msgstr "Forma macro de :c:func:`PyList_GetItem` sin comprobación de errores."
115
+ msgstr "Similar a :c:func:`PyList_GetItem`, pero sin comprobación de errores."
116
116
117
117
#: ../Doc/c-api/list.rst:85
118
118
msgid ""
@@ -143,19 +143,25 @@ msgstr ""
143
143
144
144
#: ../Doc/c-api/list.rst:100
145
145
msgid ""
146
- "Bounds checking is performed as an assertion if Python is built in :ref:"
147
- "`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`."
146
+ "Bounds checking is performed as an assertion if Python is built "
147
+ "in :ref:`debug mode <debug-build>` or :option:`with assertions <--with-"
148
+ "assertions>`."
148
149
msgstr ""
150
+ "La verificación de límites se realiza como una aserción si Python se compila "
151
+ "en :ref:`modo de depuración <debug-build>` o :option:`con aserciones <--"
152
+ "with-assertions>`."
149
153
150
154
#: ../Doc/c-api/list.rst:106
151
155
msgid ""
152
- "This macro \" steals\" a reference to *item*, and, unlike :c:func:"
153
- "`PyList_SetItem`, does *not* discard a reference to any item that is being "
154
- "replaced; any reference in *list* at position *i* will be leaked."
156
+ "This macro \" steals\" a reference to *item*, and, "
157
+ "unlike :c:func:`PyList_SetItem`, does *not* discard a reference to any item "
158
+ "that is being replaced; any reference in *list* at position *i* will be "
159
+ "leaked."
155
160
msgstr ""
156
- "Este macro \" roba\" una referencia a *item* y, a diferencia de :c:func:"
157
- "`PyList_SetItem`, *no descarta* una referencia a ningún elemento que se está "
158
- "reemplazando; cualquier referencia en *list* en la posición *i* se filtrará."
161
+ "Este macro \" roba\" una referencia a *item* y, a diferencia "
162
+ "de :c:func:`PyList_SetItem`, *no descarta* una referencia a ningún elemento "
163
+ "que se está reemplazando; cualquier referencia en *list* en la posición *i* "
164
+ "se filtrará."
159
165
160
166
#: ../Doc/c-api/list.rst:114
161
167
msgid ""
@@ -209,25 +215,35 @@ msgid ""
209
215
"``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and "
210
216
"analogous to ``list.extend(iterable)`` or ``list += iterable``."
211
217
msgstr ""
218
+ "Extiende *list* con los contenidos de *iterable*. Esto es lo mismo que "
219
+ "``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` y "
220
+ "análogo a ``list.extend(iterable)`` o ``list += iterable``."
212
221
213
222
#: ../Doc/c-api/list.rst:148
214
223
msgid ""
215
224
"Raise an exception and return ``-1`` if *list* is not a :class:`list` "
216
225
"object. Return 0 on success."
217
226
msgstr ""
227
+ "Lanza una excepción y retorna ``-1`` si *list* no es un "
228
+ "objeto :class:`list`. Retorna 0 en caso de éxito."
218
229
219
230
#: ../Doc/c-api/list.rst:156
220
231
msgid ""
221
232
"Remove all items from *list*. This is the same as ``PyList_SetSlice(list, "
222
233
"0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del "
223
234
"list[:]``."
224
235
msgstr ""
236
+ "Elimina todos los elementos de *list*. Esto es lo mismo que "
237
+ "``PyList_SetSlice(list, 0, PY_SSIZE_T_MAX, NULL)`` y análogo a "
238
+ "``list.clear()`` o ``del list[:]``."
225
239
226
240
#: ../Doc/c-api/list.rst:160
227
241
msgid ""
228
242
"Raise an exception and return ``-1`` if *list* is not a :class:`list` "
229
243
"object. Return 0 on success."
230
244
msgstr ""
245
+ "Lanza una excepción y retorna ``-1`` si *list* no es un "
246
+ "objeto :class:`list`. Retorna 0 en caso de éxito."
231
247
232
248
#: ../Doc/c-api/list.rst:168
233
249
msgid ""
@@ -243,8 +259,8 @@ msgid ""
243
259
"failure. This is the equivalent of ``list.reverse()``."
244
260
msgstr ""
245
261
"Invierte los elementos de la lista *list* en su lugar. Retorna ``0`` en caso "
246
- "de éxito, ``-1`` en caso de error. Este es el equivalente de ``list. "
247
- "reverse()``."
262
+ "de éxito, ``-1`` en caso de error. Este es el equivalente de "
263
+ "``list. reverse()``."
248
264
249
265
#: ../Doc/c-api/list.rst:182
250
266
msgid ""
@@ -255,22 +271,21 @@ msgstr ""
255
271
"equivalente a ``tuple(list)``."
256
272
257
273
#: ../Doc/c-api/list.rst:8
258
- #, fuzzy
259
274
msgid "object"
260
- msgstr "Objetos lista "
275
+ msgstr "objeto "
261
276
262
277
#: ../Doc/c-api/list.rst:8
263
278
msgid "list"
264
- msgstr ""
279
+ msgstr "lista "
265
280
266
281
#: ../Doc/c-api/list.rst:51 ../Doc/c-api/list.rst:180
267
282
msgid "built-in function"
268
- msgstr ""
283
+ msgstr "función integrada "
269
284
270
285
#: ../Doc/c-api/list.rst:51
271
286
msgid "len"
272
- msgstr ""
287
+ msgstr "len "
273
288
274
289
#: ../Doc/c-api/list.rst:180
275
290
msgid "tuple"
276
- msgstr ""
291
+ msgstr "tupla "
0 commit comments