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

Skip to content

Traducido archivo c-api/type.po #2370

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 14 commits into from
Aug 7, 2023
Merged
1 change: 1 addition & 0 deletions TRANSLATORS
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Gibran Herrera (@gibranhl)
Ginés Salar Ibáñez (@Ibnmardanis24)
gmdeluca
Gonzalo Delgado (@gonzalodelgado)
Gonzalo Martínez (@igmtz)
Gonzalo Tixilima (@javoweb)
Gustavo Adolfo Huarcaya Delgado (@diavolo)
Héctor Canto (@hectorcanto)
Expand Down
45 changes: 28 additions & 17 deletions c-api/type.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2021-08-02 01:37+0200\n"
"Last-Translator: Cristián Maureira-Fredes <[email protected]>\n"
"Language: es\n"
"PO-Revision-Date: 2023-04-12 00:54-0600\n"
"Last-Translator: Gonzalo Martinez <[email protected]>\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.2.2\n"

#: ../Doc/c-api/type.rst:6
msgid "Type Objects"
Expand Down Expand Up @@ -66,18 +67,17 @@ msgstr ""
"versión actual."

#: ../Doc/c-api/type.rst:42
#, fuzzy
msgid ""
"Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This "
"function is primarily meant for use with ``Py_LIMITED_API``; the individual "
"flag bits are guaranteed to be stable across Python releases, but access to :"
"c:member:`~PyTypeObject.tp_flags` itself is not part of the limited API."
msgstr ""
"Retorna el miembro :c:member:`~PyTypeObject.tp_flags` de *type*. Esta "
"Devuelve el miembro :c:member:`~PyTypeObject.tp_flags` de *type*. Esta "
"función está destinada principalmente para su uso con `Py_LIMITED_API`; se "
"garantiza que los bits de bandera (*flag*) individuales serán estables en "
"las versiones de Python, pero el acceso a :c:member:`~PyTypeObject.tp_flags` "
"en sí mismo no forma parte de la API limitada."
"garantiza que los bits de bandera individuales serán estables en las "
"versiones de Python, pero el acceso a :c:member:`~PyTypeObject.tp_flags` en "
"sí mismo no forma parte de la API limitada."

#: ../Doc/c-api/type.rst:49
msgid "The return type is now ``unsigned long`` rather than ``long``."
Expand Down Expand Up @@ -179,12 +179,16 @@ msgid ""
"Return the type's name. Equivalent to getting the type's ``__name__`` "
"attribute."
msgstr ""
"Devuelve el nombre del tipo de objeto. Equivalente a obtener el atributo "
"``__name__`` del objeto tipo."

#: ../Doc/c-api/type.rst:117
msgid ""
"Return the type's qualified name. Equivalent to getting the type's "
"``__qualname__`` attribute."
msgstr ""
"Devuelve el nombre adecuado del tipo de objeto. Equivalente a obtener el "
"atributo ``__qualname__`` del objeto tipo."

#: ../Doc/c-api/type.rst:124
msgid ""
Expand Down Expand Up @@ -230,7 +234,6 @@ msgstr ""
"`TypeError` y retorna ``NULL``."

#: ../Doc/c-api/type.rst:146
#, fuzzy
msgid ""
"This function is usually used to get the module in which a method is "
"defined. Note that in such a method, ``PyType_GetModule(Py_TYPE(self))`` may "
Expand All @@ -242,11 +245,12 @@ msgid ""
msgstr ""
"Esta función se suele utilizar para obtener el módulo en el que se define un "
"método. Tenga en cuenta que en un método de este tipo, es posible que "
"``PyType_GetModule(Py_TYPE(self))`` no retorne el resultado deseado. "
"``PyType_GetModule(Py_TYPE(self))`` no devuelva el resultado deseado. "
"``Py_TYPE(self)`` puede ser una *subclass* de la clase deseada, y las "
"subclases no están necesariamente definidas en el mismo módulo que su "
"superclase. Consulte :c:type:`PyCMethod` para obtener la clase que define el "
"método."
"método. Revisa :c:type:`PyCMethod` para los casos en los que no se puede "
"usar ``PyCMethod``."

#: ../Doc/c-api/type.rst:159
msgid ""
Expand All @@ -271,14 +275,15 @@ msgid ""
"Find the first superclass whose module was created from the given :c:type:"
"`PyModuleDef` *def*, and return that module."
msgstr ""
"Encuentra la primer superclase cuyo módulo fue creado a partir del :c:type:"
"`PyModuleDef` *def* dado, y devuelve ese módulo."

#: ../Doc/c-api/type.rst:176
#, fuzzy
msgid ""
"If no module is found, raises a :py:class:`TypeError` and returns ``NULL``."
msgstr ""
"Si no hay ningún módulo asociado con el tipo dado, establece :py:class:"
"`TypeError` y retorna ``NULL``."
"Si no se encuentra ningún módulo, se genera un error de tipo :py:class:"
"`TypeError` y devuelve ``NULL``."

#: ../Doc/c-api/type.rst:178
msgid ""
Expand All @@ -288,6 +293,11 @@ msgid ""
"other places where a method's defining class cannot be passed using the :c:"
"type:`PyCMethod` calling convention."
msgstr ""
"Esta función está pensada para ser utilizada junto con :c:func:"
"`PyModule_GetState()` para obtener el estado del módulo de los métodos "
"*slot* (como :c:member:`~PyTypeObject.tp_init` o :c:member:`~PyNumberMethods."
"nb_add`) y en otros lugares donde la clase que define a un método no se "
"puede pasar utilizando la convención de llamada de :c:type:`PyCMethod`."

#: ../Doc/c-api/type.rst:188
msgid "Creating Heap-Allocated Types"
Expand Down Expand Up @@ -500,17 +510,18 @@ msgstr ""
"*bases* de :py:func:`PyType_FromSpecWithBases` en su lugar."

#: ../Doc/c-api/type.rst:299
#, fuzzy
msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API."
msgstr ""
"Las ranuras en :c:type:`PyBufferProcs` se pueden configurar en la API "
"Los *slots* en :c:type:`PyBufferProcs` se pueden configurar en la API "
"ilimitada."

#: ../Doc/c-api/type.rst:301
msgid ""
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
"bf_releasebuffer` are now available under the limited API."
msgstr ""
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
"bf_releasebuffer` ahora están disponibles en la API limitada."

#: ../Doc/c-api/type.rst:308
msgid ""
Expand Down