# Copyright (C) 2001-2018, Python Software Foundation # For licence information, see README file. # msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: c-api/method.rst:6 msgid "Instance Method Objects" msgstr "" #: 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 "" #: 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 "" #: 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 "" #: 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 "" #: c-api/method.rst:36 msgid "Return the function object associated with the instance method *im*." msgstr "" #: c-api/method.rst:41 msgid "" "Macro version of :c:func:`PyInstanceMethod_Function` which avoids error " "checking." msgstr "" #: c-api/method.rst:47 msgid "Method Objects" msgstr "Objets méthode" #: 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 "" #: 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 "" #: 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 "" #: 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 "" #: c-api/method.rst:79 msgid "Return the function object associated with the method *meth*." msgstr "" #: c-api/method.rst:84 msgid "" "Macro version of :c:func:`PyMethod_Function` which avoids error checking." msgstr "" #: c-api/method.rst:89 msgid "Return the instance associated with the method *meth*." msgstr "" #: c-api/method.rst:94 msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking." msgstr ""