From 8a98dfb39e7a0d335210a171341f8d041a593c77 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Sun, 10 May 2020 02:18:11 +0200 Subject: [PATCH] Traducido c-api/method --- c-api/method.po | 51 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/c-api/method.po b/c-api/method.po index 0ce0ff3d8d..18d74bc5c7 100644 --- a/c-api/method.po +++ b/c-api/method.po @@ -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 \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 \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 "" @@ -30,18 +32,25 @@ msgid "" "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 "" @@ -49,20 +58,25 @@ msgid "" "*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." #: ../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 "" @@ -70,18 +84,27 @@ msgid "" "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 "" @@ -89,24 +112,32 @@ msgid "" "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."