diff --git a/c-api/list.po b/c-api/list.po index f5d813fb2d..aef1ef9d76 100644 --- a/c-api/list.po +++ b/c-api/list.po @@ -12,7 +12,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-11-21 16:38-0300\n" "PO-Revision-Date: 2021-08-01 20:11+0200\n" -"Last-Translator: Cristián Maureira-Fredes \n" +"Last-Translator: Erick G. Islas-Osuna \n" "Language: es\n" "Language-Team: python-doc-es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -35,15 +35,15 @@ msgid "" "This instance of :c:type:`PyTypeObject` represents the Python list type. " "This is the same object as :class:`list` in the Python layer." msgstr "" -"Esta instancia de :c:type:`PyTypeObject` representa el tipo de lista de " -"Python. Este es el mismo objeto que :class:`list` en la capa de Python." +"Esta instancia de :c:type:`PyTypeObject` representa el tipo lista de Python. " +"Este es el mismo objeto que :class:`list` en la capa de Python." #: ../Doc/c-api/list.rst:24 msgid "" "Return true if *p* is a list object or an instance of a subtype of the list " "type. This function always succeeds." msgstr "" -"Retorna verdadero si *p* es un objeto de lista o una instancia de un subtipo " +"Retorna verdadero si *p* es un objeto lista o una instancia de un subtipo " "del tipo lista. Esta función siempre finaliza con éxito." #: ../Doc/c-api/list.rst:30 @@ -61,21 +61,22 @@ msgstr "" "caso de error." #: ../Doc/c-api/list.rst:40 -#, fuzzy msgid "" "If *len* is greater than zero, the returned list object's items are set to " -"``NULL``. Thus you cannot use abstract API functions such as :c:func:" -"`PySequence_SetItem` or expose the object to Python code before setting all " -"items to a real object with :c:func:`PyList_SetItem` or :c:func:" -"`PyList_SET_ITEM()`. The following APIs are safe APIs before the list is " -"fully initialized: :c:func:`PyList_SetItem()` and :c:func:" -"`PyList_SET_ITEM()`." +"``NULL``. Thus you cannot use abstract API functions such " +"as :c:func:`PySequence_SetItem` or expose the object to Python code before " +"setting all items to a real object with :c:func:`PyList_SetItem` " +"or :c:func:`PyList_SET_ITEM()`. The following APIs are safe APIs before the " +"list is fully initialized: :c:func:`PyList_SetItem()` " +"and :c:func:`PyList_SET_ITEM()`." msgstr "" "Si *len* es mayor que cero, los elementos del objeto de la lista retornada " "se establecen en ``NULL``. Por lo tanto, no puede utilizar funciones API " "abstractas como :c:func:`PySequence_SetItem` o exponer el objeto al código " -"Python antes de configurar todos los elementos en un objeto real con :c:func:" -"`PyList_SetItem`." +"Python antes de configurar todos los elementos en un objeto real " +"con :c:func:`PyList_SetItem` o :c:func:`PyList_SET_ITEM()`. Las siguientes " +"APIs son APIs seguras antes de que la lista esté completamente " +"inicializada: :c:func:`PyList_SetItem()` y :c:func:`PyList_SET_ITEM()`." #: ../Doc/c-api/list.rst:53 msgid "" @@ -86,12 +87,10 @@ msgstr "" "``len(list)`` en un objeto lista." #: ../Doc/c-api/list.rst:59 -#, fuzzy msgid "Similar to :c:func:`PyList_Size`, but without error checking." -msgstr "Forma macro de :c:func:`PyList_Size` sin comprobación de errores." +msgstr "Similar a :c:func:`PyList_Size`, pero sin comprobación de errores." #: ../Doc/c-api/list.rst:64 -#, fuzzy msgid "" "Return the object at position *index* in the list pointed to by *list*. The " "position must be non-negative; indexing from the end of the list is not " @@ -108,11 +107,12 @@ msgid "" "Like :c:func:`PyList_GetItemRef`, but returns a :term:`borrowed reference` " "instead of a :term:`strong reference`." msgstr "" +"Como :c:func:`PyList_GetItemRef`, pero retorna una :term:`referencia " +"prestada` en lugar de una :term:`referencia fuerte`." #: ../Doc/c-api/list.rst:80 -#, fuzzy msgid "Similar to :c:func:`PyList_GetItem`, but without error checking." -msgstr "Forma macro de :c:func:`PyList_GetItem` sin comprobación de errores." +msgstr "Similar a :c:func:`PyList_GetItem`, pero sin comprobación de errores." #: ../Doc/c-api/list.rst:85 msgid "" @@ -143,19 +143,25 @@ msgstr "" #: ../Doc/c-api/list.rst:100 msgid "" -"Bounds checking is performed as an assertion if Python is built in :ref:" -"`debug mode ` or :option:`with assertions <--with-assertions>`." +"Bounds checking is performed as an assertion if Python is built " +"in :ref:`debug mode ` or :option:`with assertions <--with-" +"assertions>`." msgstr "" +"La verificación de límites se realiza como una aserción si Python se compila " +"en :ref:`modo de depuración ` o :option:`con aserciones <--" +"with-assertions>`." #: ../Doc/c-api/list.rst:106 msgid "" -"This macro \"steals\" a reference to *item*, and, unlike :c:func:" -"`PyList_SetItem`, does *not* discard a reference to any item that is being " -"replaced; any reference in *list* at position *i* will be leaked." +"This macro \"steals\" a reference to *item*, and, " +"unlike :c:func:`PyList_SetItem`, does *not* discard a reference to any item " +"that is being replaced; any reference in *list* at position *i* will be " +"leaked." msgstr "" -"Este macro \"roba\" una referencia a *item* y, a diferencia de :c:func:" -"`PyList_SetItem`, *no descarta* una referencia a ningún elemento que se está " -"reemplazando; cualquier referencia en *list* en la posición *i* se filtrará." +"Este macro \"roba\" una referencia a *item* y, a diferencia " +"de :c:func:`PyList_SetItem`, *no descarta* una referencia a ningún elemento " +"que se está reemplazando; cualquier referencia en *list* en la posición *i* " +"se filtrará." #: ../Doc/c-api/list.rst:114 msgid "" @@ -209,12 +215,17 @@ msgid "" "``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and " "analogous to ``list.extend(iterable)`` or ``list += iterable``." msgstr "" +"Extiende *list* con los contenidos de *iterable*. Esto es lo mismo que " +"``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` y " +"análogo a ``list.extend(iterable)`` o ``list += iterable``." #: ../Doc/c-api/list.rst:148 msgid "" "Raise an exception and return ``-1`` if *list* is not a :class:`list` " "object. Return 0 on success." msgstr "" +"Lanza una excepción y retorna ``-1`` si *list* no es un " +"objeto :class:`list`. Retorna 0 en caso de éxito." #: ../Doc/c-api/list.rst:156 msgid "" @@ -222,12 +233,17 @@ msgid "" "0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del " "list[:]``." msgstr "" +"Elimina todos los elementos de *list*. Esto es lo mismo que " +"``PyList_SetSlice(list, 0, PY_SSIZE_T_MAX, NULL)`` y análogo a " +"``list.clear()`` o ``del list[:]``." #: ../Doc/c-api/list.rst:160 msgid "" "Raise an exception and return ``-1`` if *list* is not a :class:`list` " "object. Return 0 on success." msgstr "" +"Lanza una excepción y retorna ``-1`` si *list* no es un " +"objeto :class:`list`. Retorna 0 en caso de éxito." #: ../Doc/c-api/list.rst:168 msgid "" @@ -243,8 +259,8 @@ msgid "" "failure. This is the equivalent of ``list.reverse()``." msgstr "" "Invierte los elementos de la lista *list* en su lugar. Retorna ``0`` en caso " -"de éxito, ``-1`` en caso de error. Este es el equivalente de ``list." -"reverse()``." +"de éxito, ``-1`` en caso de error. Este es el equivalente de " +"``list.reverse()``." #: ../Doc/c-api/list.rst:182 msgid "" @@ -255,22 +271,21 @@ msgstr "" "equivalente a ``tuple(list)``." #: ../Doc/c-api/list.rst:8 -#, fuzzy msgid "object" -msgstr "Objetos lista" +msgstr "objeto" #: ../Doc/c-api/list.rst:8 msgid "list" -msgstr "" +msgstr "lista" #: ../Doc/c-api/list.rst:51 ../Doc/c-api/list.rst:180 msgid "built-in function" -msgstr "" +msgstr "función integrada" #: ../Doc/c-api/list.rst:51 msgid "len" -msgstr "" +msgstr "len" #: ../Doc/c-api/list.rst:180 msgid "tuple" -msgstr "" +msgstr "tupla"