Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 49 additions & 34 deletions c-api/list.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cmaureirafredes@gmail.com>\n"
"Last-Translator: Erick G. Islas-Osuna <erickisos653@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
Expand All @@ -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
Expand All @@ -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 ""
Expand All @@ -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 "
Expand All @@ -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 ""
Expand Down Expand Up @@ -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 <debug-build>` or :option:`with assertions <--with-assertions>`."
"Bounds checking is performed as an assertion if Python is built "
"in :ref:`debug mode <debug-build>` 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 <debug-build>` o :option:`with assertions <--"
"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 ""
Expand Down Expand Up @@ -209,25 +215,35 @@ 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 ""
"Remove all items from *list*. This is the same as ``PyList_SetSlice(list, "
"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 ""
Expand All @@ -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 ""
Expand All @@ -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"