104 lines
2.9 KiB
Plaintext
104 lines
2.9 KiB
Plaintext
# 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: 2021-01-27 19:26+0100\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: FRENCH <traductions@lists.afpy.org>\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``. This function "
|
|
"always succeeds."
|
|
msgstr ""
|
|
|
|
#: c-api/method.rst:30
|
|
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:37
|
|
msgid "Return the function object associated with the instance method *im*."
|
|
msgstr ""
|
|
|
|
#: c-api/method.rst:42
|
|
msgid ""
|
|
"Macro version of :c:func:`PyInstanceMethod_Function` which avoids error "
|
|
"checking."
|
|
msgstr ""
|
|
|
|
#: c-api/method.rst:48
|
|
msgid "Method Objects"
|
|
msgstr "Objets méthode"
|
|
|
|
#: 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 ""
|
|
|
|
#: 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 ""
|
|
|
|
#: 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 ""
|
|
|
|
#: 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 ""
|
|
|
|
#: c-api/method.rst:80
|
|
msgid "Return the function object associated with the method *meth*."
|
|
msgstr ""
|
|
|
|
#: c-api/method.rst:85
|
|
msgid ""
|
|
"Macro version of :c:func:`PyMethod_Function` which avoids error checking."
|
|
msgstr ""
|
|
|
|
#: c-api/method.rst:90
|
|
msgid "Return the instance associated with the method *meth*."
|
|
msgstr ""
|
|
|
|
#: c-api/method.rst:95
|
|
msgid "Macro version of :c:func:`PyMethod_Self` which avoids error checking."
|
|
msgstr ""
|