Skip to content

Traducido c-api/method #212

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 10, 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
51 changes: 41 additions & 10 deletions c-api/method.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,107 +6,138 @@
# 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-10 02:17+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 <cmaureirafredes@gmail.com>\n"
"Language: es\n"
"X-Generator: Poedit 2.3\n"

#: ../Doc/c-api/method.rst:6
msgid "Instance Method Objects"
msgstr ""
msgstr "Objetos de método de instancia"

#: ../Doc/c-api/method.rst:10
msgid ""
"An instance method is a wrapper for a :c:data:`PyCFunction` and the new way "
"to bind a :c:data:`PyCFunction` to a class object. It replaces the former "
"call ``PyMethod_New(func, NULL, class)``."
msgstr ""
"Un método de instancia es un contenedor para una :c:data:`PyCFunction` y la "
"nueva forma de vincular una :c:data:`PyCFunction` a un objeto de clase. "
"Reemplaza la llamada anterior ``PyMethod_New (func, NULL, class)``."

#: ../Doc/c-api/method.rst:17
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python instance "
"method type. It is not exposed to Python programs."
msgstr ""
"Esta instancia de :c:type:`PyTypeObject` representa el tipo de método de "
"instancia de Python. No está expuesto a los programas de Python."

#: ../Doc/c-api/method.rst:23
msgid ""
"Return true if *o* is an instance method object (has type :c:data:"
"`PyInstanceMethod_Type`). The parameter must not be ``NULL``."
msgstr ""
"Retorna verdadero si *o* es un objeto de método de instancia (tiene tipo :c:"
"data:`PyInstanceMethod_Type`). El parámetro no debe ser ``NULL``."

#: ../Doc/c-api/method.rst:29
msgid ""
"Return a new instance method object, with *func* being any callable object "
"*func* is the function that will be called when the instance method is "
"called."
msgstr ""
"Retorna un nuevo objeto de método de instancia, con *func* siendo cualquier "
"objeto invocable *func* es la función que se llamará cuando se llame al "
"método de instancia."
Comment on lines +61 to +63
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Este párrafo me suena difícil de leer, pero la versión en Inglés está fea para mí 😄


#: ../Doc/c-api/method.rst:36
msgid "Return the function object associated with the instance method *im*."
msgstr ""
msgstr "Retorna el objeto de función asociado con el método de instancia *im*."

#: ../Doc/c-api/method.rst:41
msgid ""
"Macro version of :c:func:`PyInstanceMethod_Function` which avoids error "
"checking."
msgstr ""
"Versión macro de :c:func:`PyInstanceMethod_Function` que evita la "
"comprobación de errores."

#: ../Doc/c-api/method.rst:47
msgid "Method Objects"
msgstr ""
msgstr "Objetos método"

#: ../Doc/c-api/method.rst:51
msgid ""
"Methods are bound function objects. Methods are always bound to an instance "
"of a user-defined class. Unbound methods (methods bound to a class object) "
"are no longer available."
msgstr ""
"Los métodos son objetos de función enlazados. Los métodos siempre están "
"vinculados a una instancia de una clase definida por el usuario. Los métodos "
"no vinculados (métodos vinculados a un objeto de clase) ya no están "
"disponibles."

#: ../Doc/c-api/method.rst:60
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python method type. "
"This is exposed to Python programs as ``types.MethodType``."
msgstr ""
"Esta instancia de :c:type:`PyTypeObject` representa el tipo de método "
"Python. Esto está expuesto a los programas de Python como ``types."
"MethodType``."

#: ../Doc/c-api/method.rst:66
msgid ""
"Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). "
"The parameter must not be ``NULL``."
msgstr ""
"Retorna verdadero si *o* es un objeto de método (tiene tipo :c:data:"
"`PyMethod_Type`). El parámetro no debe ser ``NULL``."

#: ../Doc/c-api/method.rst:72
msgid ""
"Return a new method object, with *func* being any callable object and *self* "
"the instance the method should be bound. *func* is the function that will be "
"called when the method is called. *self* must not be ``NULL``."
msgstr ""
"Retorna un nuevo objeto de método, con *func* como cualquier objeto "
"invocable y *self* la instancia en la que se debe vincular el método. *func* "
"es la función que se llamará cuando se llame al método. *self* no debe ser "
"``NULL``."

#: ../Doc/c-api/method.rst:79
msgid "Return the function object associated with the method *meth*."
msgstr ""
msgstr "Retorna el objeto de función asociado con el método *meth*."

#: ../Doc/c-api/method.rst:84
msgid ""
"Macro version of :c:func:`PyMethod_Function` which avoids error checking."
msgstr ""
"Versión macro de :c:func:`PyMethod_Function` que evita la comprobación de "
"errores."

#: ../Doc/c-api/method.rst:89
msgid "Return the instance associated with the method *meth*."
msgstr ""
msgstr "Retorna la instancia asociada con el método *meth*."

#: ../Doc/c-api/method.rst:94
msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking."
msgstr ""
"Versión macro de :c:func:`PyMethod_Self` que evita la comprobación de "
"errores."

#: ../Doc/c-api/method.rst:99
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."