Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Traducido c-api/set #278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2020
Merged
Changes from all commits
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
94 changes: 86 additions & 8 deletions c-api/set.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,25 @@
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
# get the list of volunteers
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2020-05-16 18:25+0200\n"
"Language-Team: python-doc-es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.8.0\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Last-Translator: Cristián Maureira-Fredes <[email protected]>\n"
"Language: es\n"
"X-Generator: Poedit 2.3\n"

#: ../Doc/c-api/set.rst:6
msgid "Set Objects"
msgstr ""
msgstr "Objetos Conjunto"

#: ../Doc/c-api/set.rst:15
msgid ""
Expand All @@ -37,6 +39,16 @@ msgid ""
"c:func:`PyNumber_InPlaceSubtract`, :c:func:`PyNumber_InPlaceOr`, and :c:func:"
"`PyNumber_InPlaceXor`)."
msgstr ""
"Esta sección detalla la API pública para objetos :class:`set` y :class:"
"`frozenset`. Se puede acceder mejor a cualquier funcionalidad que no se "
"enumere a continuación utilizando el protocolo de objeto abstracto (que "
"incluye :c:func:`PyObject_CallMethod`, :c:func:`PyObject_RichCompareBool`, :"
"c:func:`PyObject_Hash`, :c:func:`PyObject_Repr`, :c:func:`PyObject_IsTrue`, :"
"c:func:`PyObject_Print`, y :c:func:`PyObject_GetIter`) o el protocolo de "
"número abstracto (que incluye :c:func:`PyNumber_And`, :c:func:"
"`PyNumber_Subtract`, :c:func:`PyNumber_Or`, :c:func:`PyNumber_Xor`, :c:func:"
"`PyNumber_InPlaceAnd`, :c:func:`PyNumber_InPlaceSubtract`, :c:func:"
"`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."