You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
"`PyNumber_InPlaceOr`, y :c:func:`PyNumber_InPlaceXor`)."
#: ../Doc/c-api/set.rst:29
msgid ""
Expand All
@@ -49,53 +61,79 @@ msgid ""
"access should be done through the documented API rather than by manipulating "
"the values in the structure."
msgstr ""
"Este subtipo de :c:type:`PyObject` se utiliza para contener los datos "
"internos de los objetos :class:`set` y :class:`frozenset`. Es como un :c:"
"type:`PyDictObject` en el sentido de que es un tamaño fijo para conjuntos "
"pequeños (muy parecido al almacenamiento de tuplas) y apuntará a un bloque "
"de memoria separado de tamaño variable para conjuntos de tamaño medio y "
"grande (muy similar a la lista almacenamiento). Ninguno de los campos de "
"esta estructura debe considerarse público y está sujeto a cambios. Todo el "
"acceso debe hacerse a través de la API documentada en lugar de manipular los "
"valores en la estructura."
#: ../Doc/c-api/set.rst:40
msgid ""
"This is an instance of :c:type:`PyTypeObject` representing the Python :class:"
"`set` type."
msgstr ""
"Esta es una instancia de :c:type:`PyTypeObject` que representa el tipo "
"Python :class:`set`."
#: ../Doc/c-api/set.rst:46
msgid ""
"This is an instance of :c:type:`PyTypeObject` representing the Python :class:"
"`frozenset` type."
msgstr ""
"Esta es una instancia de :c:type:`PyTypeObject` que representa el tipo "
"Python :class:`frozenset`."
#: ../Doc/c-api/set.rst:49
msgid ""
"The following type check macros work on pointers to any Python object. "
"Likewise, the constructor functions work with any iterable Python object."
msgstr ""
"Los siguientes macros de comprobación de tipos funcionan en punteros a "
"cualquier objeto de Python. Del mismo modo, las funciones del constructor "
"funcionan con cualquier objeto Python iterable."
#: ../Doc/c-api/set.rst:55
msgid ""
"Return true if *p* is a :class:`set` object or an instance of a subtype."
msgstr ""
"Retorna verdadero si *p* es un objeto :class:`set` o una instancia de un "
"subtipo."
#: ../Doc/c-api/set.rst:59
msgid ""
"Return true if *p* is a :class:`frozenset` object or an instance of a "
"subtype."
msgstr ""
"Retorna verdadero si *p* es un objeto :class:`frozenset` o una instancia de "
"un subtipo."
#: ../Doc/c-api/set.rst:64
msgid ""
"Return true if *p* is a :class:`set` object, a :class:`frozenset` object, or "
"an instance of a subtype."
msgstr ""
"Retorna verdadero si *p* es un objeto :class:`set`, un objeto :class:"
"`frozenset`, o una instancia de un subtipo."
#: ../Doc/c-api/set.rst:70
msgid ""
"Return true if *p* is a :class:`set` object or a :class:`frozenset` object "
"but not an instance of a subtype."
msgstr ""
"Retorna verdadero si *p* es un objeto :class:`set` o un objeto :class:"
"`frozenset` pero no una instancia de un subtipo."
#: ../Doc/c-api/set.rst:76
msgid ""
"Return true if *p* is a :class:`frozenset` object but not an instance of a "
"subtype."
msgstr ""
"Retorna verdadero si *p* es un objeto :class:`frozenset` pero no una "
"instancia de un subtipo."
#: ../Doc/c-api/set.rst:82
msgid ""
Expand All
@@ -105,6 +143,11 @@ msgid ""
"is not actually iterable. The constructor is also useful for copying a set "
"(``c=set(s)``)."
msgstr ""
"Retorna un nuevo :class:`set` que contiene objetos retornados por "
"*iterable*. El *iterable* puede ser ``NULL`` para crear un nuevo conjunto "
"vacío. Retorna el nuevo conjunto en caso de éxito o ``NULL`` en caso de "
"error. Lanza :exc:`TypeError` si *iterable* no es realmente iterable. El "
"constructor también es útil para copiar un conjunto (``c=set(s)``)."
#: ../Doc/c-api/set.rst:91
msgid ""
Expand All
@@ -113,23 +156,32 @@ msgid ""
"Return the new set on success or ``NULL`` on failure. Raise :exc:"
"`TypeError` if *iterable* is not actually iterable."
msgstr ""
"Retorna un nuevo :class:`frozenset` que contiene objetos devueltos por "
"*iterable*. El *iterable* puede ser ``NULL`` para crear un nuevo conjunto "
"congelado vacío. Retorna el nuevo conjunto en caso de éxito o ``NULL`` en "
"caso de error. Lanza :exc:`TypeError` si *iterable* no es realmente iterable."
#: ../Doc/c-api/set.rst:97
msgid ""
"The following functions and macros are available for instances of :class:"
"`set` or :class:`frozenset` or instances of their subtypes."
msgstr ""
"Las siguientes funciones y macros están disponibles para instancias de :"
"class:`set` o :class:`frozenset` o instancias de sus subtipos."
#: ../Doc/c-api/set.rst:105
msgid ""
"Return the length of a :class:`set` or :class:`frozenset` object. Equivalent "
"to ``len(anyset)``. Raises a :exc:`PyExc_SystemError` if *anyset* is not a :"
"class:`set`, :class:`frozenset`, or an instance of a subtype."
msgstr ""
"Retorna la longitud de un objeto :class:`set` o :class:`frozenset`. "
"Equivalente a ``len(anyset)``. Lanza un :exc:`PyExc_SystemError` si *anyset* "
"no es :class:`set`, :class:`frozenset`, o una instancia de un subtipo."
#: ../Doc/c-api/set.rst:112
msgid "Macro form of :c:func:`PySet_Size` without error checking."
msgstr ""
msgstr "Forma macro de :c:func:`PySet_Size` sin comprobación de errores."
#: ../Doc/c-api/set.rst:117
msgid ""
Expand All
@@ -140,6 +192,12 @@ msgid ""
"`PyExc_SystemError` if *anyset* is not a :class:`set`, :class:`frozenset`, "
"or an instance of a subtype."
msgstr ""
"Retorna ``1`` si se encuentra, ``0`` si no se encuentra y ``-1`` si se "
"encuentra un error. A diferencia del método Python :meth:`__contains__`, "
"esta función no convierte automáticamente conjuntos no compartibles en "
"congelados temporales. Lanza un :exc:`TypeError` si la *key* no se puede "
"compartir. Lanza :exc:`PyExc_SystemError` si *anyset* no es un :class:"
"`set`, :class:`frozenset`, o una instancia de un subtipo."
#: ../Doc/c-api/set.rst:126
msgid ""
Expand All
@@ -151,12 +209,21 @@ msgid ""
"grow. Raise a :exc:`SystemError` if *set* is not an instance of :class:"
"`set` or its subtype."
msgstr ""
"Agrega *key* a una instancia de :class:`set`. También funciona con "
"instancias :class:`frozenset` (como :c:func:`PyTuple_SetItem` se puede usar "
"para completar los valores de los *frozensets* nuevos antes de que estén "
"expuestos a otro código). Devuelve ``0`` en caso de éxito o ``-1`` en caso "
"de error. Lanza un :exc:`TypeError` si la *key* no se puede compartir. Lanza "
"un :exc:`MemoryError` si no hay espacio para crecer. Lanza un :exc:"
"`SystemError` si *set* no es una instancia de :class:`set` o su subtipo."
#: ../Doc/c-api/set.rst:135
msgid ""
"The following functions are available for instances of :class:`set` or its "
"subtypes but not for instances of :class:`frozenset` or its subtypes."
msgstr ""
"Las siguientes funciones están disponibles para instancias de :class:`set` o "
"sus subtipos, pero no para instancias de :class:`frozenset` o sus subtipos."
#: ../Doc/c-api/set.rst:141
msgid ""
Expand All
@@ -168,6 +235,13 @@ msgid ""
"`PyExc_SystemError` if *set* is not an instance of :class:`set` or its "
"subtype."
msgstr ""
"Retorna ``1`` si se encuentra y se elimina, ``0`` si no se encuentra (no se "
"realiza ninguna acción) y ``-1`` si se encuentra un error. No lanza :exc:"
"`KeyError` por faltar claves. Lanza un :exc:`TypeError` si la *key* no se "
"puede compartir. A diferencia del método Python :meth:`~set.discard`, esta "
"función no convierte automáticamente conjuntos no compartibles en congelados "
"temporales. Lanza :exc:`PyExc_SystemError` si *set* no es una instancia de :"
"class:`set` o su subtipo."
#: ../Doc/c-api/set.rst:151
msgid ""
Expand All
@@ -176,11 +250,15 @@ msgid ""
"if the set is empty. Raise a :exc:`SystemError` if *set* is not an instance "
"of :class:`set` or its subtype."
msgstr ""
"Retorna una nueva referencia a un objeto arbitrario en el *set* y elimina el "
"objeto del *set*. Retorna ``NULL`` en caso de falla. Lanza :exc:`KeyError` "
"si el conjunto está vacío. Lanza a :exc:`SystemError` si *set* no es una "
"instancia de :class:`set` o su subtipo."
#: ../Doc/c-api/set.rst:159
msgid "Empty an existing set of all elements."
msgstr ""
msgstr "Vacía un conjunto existente de todos los elementos."
#: ../Doc/c-api/set.rst:164
msgid "Clear the free list. Return the total number of freed items."
msgstr ""
msgstr "Borra la lista libre. Retorna el número total de artículos liberados."
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.