2018-07-04 09:06:45 +00:00
|
|
|
# Copyright (C) 2001-2018, Python Software Foundation
|
2018-07-04 09:08:42 +00:00
|
|
|
# For licence information, see README file.
|
2016-10-30 09:46:26 +00:00
|
|
|
#
|
|
|
|
msgid ""
|
|
|
|
msgstr ""
|
2019-12-05 22:15:54 +00:00
|
|
|
"Project-Id-Version: Python 3\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
"Report-Msgid-Bugs-To: \n"
|
2022-03-23 17:40:12 +00:00
|
|
|
"POT-Creation-Date: 2022-03-23 18:39+0100\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
2018-07-04 09:14:25 +00:00
|
|
|
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
2017-05-23 22:40:56 +00:00
|
|
|
"Language: fr\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
"MIME-Version: 1.0\n"
|
|
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
#: c-api/function.rst:6
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid "Function Objects"
|
2017-12-05 06:54:15 +00:00
|
|
|
msgstr "Objets fonctions"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
#: c-api/function.rst:10
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid "There are a few functions specific to Python functions."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
#: c-api/function.rst:15
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid "The C structure used for functions."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
#: c-api/function.rst:22
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"This is an instance of :c:type:`PyTypeObject` and represents the Python "
|
|
|
|
"function type. It is exposed to Python programmers as ``types."
|
|
|
|
"FunctionType``."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
#: c-api/function.rst:28
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"Return true if *o* is a function object (has type :c:data:"
|
2021-01-27 19:42:04 +00:00
|
|
|
"`PyFunction_Type`). The parameter must not be ``NULL``. This function "
|
|
|
|
"always succeeds."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
#: c-api/function.rst:34
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"Return a new function object associated with the code object *code*. "
|
|
|
|
"*globals* must be a dictionary with the global variables accessible to the "
|
|
|
|
"function."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-20 08:45:25 +00:00
|
|
|
#: c-api/function.rst:37
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"The function's docstring and name are retrieved from the code object. "
|
|
|
|
"*__module__* is retrieved from *globals*. The argument defaults, annotations "
|
2019-11-15 22:57:16 +00:00
|
|
|
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
|
2022-03-23 17:40:12 +00:00
|
|
|
"the code object's ``co_qualname`` field."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:45
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"As :c:func:`PyFunction_New`, but also allows setting the function object's "
|
2019-11-15 22:57:16 +00:00
|
|
|
"``__qualname__`` attribute. *qualname* should be a unicode object or "
|
|
|
|
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
|
2022-03-23 17:40:12 +00:00
|
|
|
"value as the code object's ``co_qualname`` field."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:55
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid "Return the code object associated with the function object *op*."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:60
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid "Return the globals dictionary associated with the function object *op*."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:65
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
2021-09-24 08:20:01 +00:00
|
|
|
"Return a :term:`borrowed reference` to the *__module__* attribute of the "
|
|
|
|
"function object *op*. It can be *NULL*."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:68
|
2021-09-24 08:20:01 +00:00
|
|
|
msgid ""
|
|
|
|
"This is normally a string containing the module name, but can be set to any "
|
|
|
|
"other object by Python code."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:74
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"Return the argument default values of the function object *op*. This can be "
|
2019-11-15 22:57:16 +00:00
|
|
|
"a tuple of arguments or ``NULL``."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:80
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"Set the argument default values for the function object *op*. *defaults* "
|
2019-11-15 22:57:16 +00:00
|
|
|
"must be ``Py_None`` or a tuple."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:97 c-api/function.rst:111
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:88
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"Return the closure associated with the function object *op*. This can be "
|
2019-11-15 22:57:16 +00:00
|
|
|
"``NULL`` or a tuple of cell objects."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:94
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"Set the closure associated with the function object *op*. *closure* must be "
|
2019-11-15 22:57:16 +00:00
|
|
|
"``Py_None`` or a tuple of cell objects."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:102
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"Return the annotations of the function object *op*. This can be a mutable "
|
2019-11-15 22:57:16 +00:00
|
|
|
"dictionary or ``NULL``."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|
|
|
|
|
2022-03-23 17:40:12 +00:00
|
|
|
#: c-api/function.rst:108
|
2016-10-30 09:46:26 +00:00
|
|
|
msgid ""
|
|
|
|
"Set the annotations for the function object *op*. *annotations* must be a "
|
2019-11-15 22:57:16 +00:00
|
|
|
"dictionary or ``Py_None``."
|
2016-10-30 09:46:26 +00:00
|
|
|
msgstr ""
|