Skip to content

Commit 77e7515

Browse files
authored
Merge branch 'python:3.13' into translate/c-api/import.po
2 parents 8ecc940 + 630a61d commit 77e7515

File tree

1 file changed

+49
-34
lines changed

1 file changed

+49
-34
lines changed

c-api/list.po

Lines changed: 49 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgstr ""
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
1414
"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"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
1818
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -35,15 +35,15 @@ msgid ""
3535
"This instance of :c:type:`PyTypeObject` represents the Python list type. "
3636
"This is the same object as :class:`list` in the Python layer."
3737
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."
4040

4141
#: ../Doc/c-api/list.rst:24
4242
msgid ""
4343
"Return true if *p* is a list object or an instance of a subtype of the list "
4444
"type. This function always succeeds."
4545
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 "
4747
"del tipo lista. Esta función siempre finaliza con éxito."
4848

4949
#: ../Doc/c-api/list.rst:30
@@ -61,21 +61,22 @@ msgstr ""
6161
"caso de error."
6262

6363
#: ../Doc/c-api/list.rst:40
64-
#, fuzzy
6564
msgid ""
6665
"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()`."
7372
msgstr ""
7473
"Si *len* es mayor que cero, los elementos del objeto de la lista retornada "
7574
"se establecen en ``NULL``. Por lo tanto, no puede utilizar funciones API "
7675
"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()`."
7980

8081
#: ../Doc/c-api/list.rst:53
8182
msgid ""
@@ -86,12 +87,10 @@ msgstr ""
8687
"``len(list)`` en un objeto lista."
8788

8889
#: ../Doc/c-api/list.rst:59
89-
#, fuzzy
9090
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."
9292

9393
#: ../Doc/c-api/list.rst:64
94-
#, fuzzy
9594
msgid ""
9695
"Return the object at position *index* in the list pointed to by *list*. The "
9796
"position must be non-negative; indexing from the end of the list is not "
@@ -108,11 +107,12 @@ msgid ""
108107
"Like :c:func:`PyList_GetItemRef`, but returns a :term:`borrowed reference` "
109108
"instead of a :term:`strong reference`."
110109
msgstr ""
110+
"Como :c:func:`PyList_GetItemRef`, pero retorna una :term:`referencia "
111+
"prestada` en lugar de una :term:`referencia fuerte`."
111112

112113
#: ../Doc/c-api/list.rst:80
113-
#, fuzzy
114114
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."
116116

117117
#: ../Doc/c-api/list.rst:85
118118
msgid ""
@@ -143,19 +143,25 @@ msgstr ""
143143

144144
#: ../Doc/c-api/list.rst:100
145145
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>`."
148149
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>`."
149153

150154
#: ../Doc/c-api/list.rst:106
151155
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."
155160
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á."
159165

160166
#: ../Doc/c-api/list.rst:114
161167
msgid ""
@@ -209,25 +215,35 @@ msgid ""
209215
"``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and "
210216
"analogous to ``list.extend(iterable)`` or ``list += iterable``."
211217
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``."
212221

213222
#: ../Doc/c-api/list.rst:148
214223
msgid ""
215224
"Raise an exception and return ``-1`` if *list* is not a :class:`list` "
216225
"object. Return 0 on success."
217226
msgstr ""
227+
"Lanza una excepción y retorna ``-1`` si *list* no es un "
228+
"objeto :class:`list`. Retorna 0 en caso de éxito."
218229

219230
#: ../Doc/c-api/list.rst:156
220231
msgid ""
221232
"Remove all items from *list*. This is the same as ``PyList_SetSlice(list, "
222233
"0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del "
223234
"list[:]``."
224235
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[:]``."
225239

226240
#: ../Doc/c-api/list.rst:160
227241
msgid ""
228242
"Raise an exception and return ``-1`` if *list* is not a :class:`list` "
229243
"object. Return 0 on success."
230244
msgstr ""
245+
"Lanza una excepción y retorna ``-1`` si *list* no es un "
246+
"objeto :class:`list`. Retorna 0 en caso de éxito."
231247

232248
#: ../Doc/c-api/list.rst:168
233249
msgid ""
@@ -243,8 +259,8 @@ msgid ""
243259
"failure. This is the equivalent of ``list.reverse()``."
244260
msgstr ""
245261
"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()``."
248264

249265
#: ../Doc/c-api/list.rst:182
250266
msgid ""
@@ -255,22 +271,21 @@ msgstr ""
255271
"equivalente a ``tuple(list)``."
256272

257273
#: ../Doc/c-api/list.rst:8
258-
#, fuzzy
259274
msgid "object"
260-
msgstr "Objetos lista"
275+
msgstr "objeto"
261276

262277
#: ../Doc/c-api/list.rst:8
263278
msgid "list"
264-
msgstr ""
279+
msgstr "lista"
265280

266281
#: ../Doc/c-api/list.rst:51 ../Doc/c-api/list.rst:180
267282
msgid "built-in function"
268-
msgstr ""
283+
msgstr "función integrada"
269284

270285
#: ../Doc/c-api/list.rst:51
271286
msgid "len"
272-
msgstr ""
287+
msgstr "len"
273288

274289
#: ../Doc/c-api/list.rst:180
275290
msgid "tuple"
276-
msgstr ""
291+
msgstr "tupla"

0 commit comments

Comments
 (0)