# Copyright (C) 2001-2020, Python Software Foundation # This file is distributed under the same license as the Python package. # Maintained by the python-doc-es workteam. # docs-es@python.org / # https://mail.python.org/mailman3/lists/docs-es.python.org/ # Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to # get the list of volunteers # msgid "" 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-01 20:26+0200\n" "Last-Translator: Cristián Maureira-Fredes \n" "Language: es\n" "Language-Team: python-doc-es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" #: ../Doc/c-api/method.rst:6 msgid "Instance Method Objects" 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``. This function " "always succeeds." 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``. Esta " "función siempre finaliza con éxito." #: ../Doc/c-api/method.rst:30 #, fuzzy 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." #: ../Doc/c-api/method.rst:37 msgid "Return the function object associated with the instance method *im*." msgstr "Retorna el objeto de función asociado con el método de instancia *im*." #: ../Doc/c-api/method.rst:42 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:48 msgid "Method Objects" msgstr "Objetos método" #: ../Doc/c-api/method.rst:52 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:61 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:67 msgid "" "Return true if *o* is a method object (has type :c:data:`PyMethod_Type`). " "The parameter must not be ``NULL``. This function always succeeds." msgstr "" "Retorna verdadero si *o* es un objeto de método (tiene tipo :c:data:" "`PyMethod_Type`). El parámetro no debe ser ``NULL``. Esta función siempre " "finaliza con éxito." #: ../Doc/c-api/method.rst:73 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:80 msgid "Return the function object associated with the method *meth*." msgstr "Retorna el objeto de función asociado con el método *meth*." #: ../Doc/c-api/method.rst:85 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:90 msgid "Return the instance associated with the method *meth*." msgstr "Retorna la instancia asociada con el método *meth*." #: ../Doc/c-api/method.rst:95 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."