python-docs-fr/c-api/complex.po

209 lines
7.3 KiB
Plaintext
Raw Normal View History

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"
2020-09-11 07:11:46 +00:00
"POT-Creation-Date: 2020-08-24 09:01+0200\n"
2019-01-16 23:42:24 +00:00
"PO-Revision-Date: 2019-01-14 20:31+0100\n"
"Last-Translator: ANTOINE FOURES <afoures@student.42.fr>\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"
"X-Generator: Poedit 2.0.4\n"
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:6
2016-10-30 09:46:26 +00:00
msgid "Complex Number Objects"
2019-01-16 23:42:24 +00:00
msgstr "Objets représentant des nombres complexes"
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:10
2016-10-30 09:46:26 +00:00
msgid ""
"Python's complex number objects are implemented as two distinct types when "
"viewed from the C API: one is the Python object exposed to Python programs, "
"and the other is a C structure which represents the actual complex number "
"value. The API provides functions for working with both."
msgstr ""
2019-01-16 23:42:24 +00:00
"Les nombres complexes Python sont implémentés comme deux types distincts, "
"lorsqu'ils sont vus de l'API C : l'un est l'objet Python tel qu'il est vu "
"par les programmes Python, et l'autre est une structure C qui représente la "
"valeur exacte du nombre complexe. L'API fournit des fonctions pour "
2016-10-30 09:46:26 +00:00
"travailler avec ces deux représentations."
#: c-api/complex.rst:17
2016-10-30 09:46:26 +00:00
msgid "Complex Numbers as C Structures"
msgstr "Nombres complexes en tant que structures C"
#: c-api/complex.rst:19
2016-10-30 09:46:26 +00:00
msgid ""
"Note that the functions which accept these structures as parameters and "
"return them as results do so *by value* rather than dereferencing them "
"through pointers. This is consistent throughout the API."
msgstr ""
2019-01-16 23:42:24 +00:00
"Les fonctions qui acceptent ces structures comme paramètres et les renvoient "
"comme résultats le font en fonction de leur *valeur* au lieu de les dé-"
"référencer en utilisant des pointeurs. C'est constant dans toute l'API."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:26
2016-10-30 09:46:26 +00:00
msgid ""
"The C structure which corresponds to the value portion of a Python complex "
"number object. Most of the functions for dealing with complex number "
"objects use structures of this type as input or output values, as "
"appropriate. It is defined as::"
msgstr ""
2019-01-16 23:42:24 +00:00
"Structure C représentant la valeur d'un nombre complexe Python. La majorité "
"des fonctions qui traitent des nombres complexes utilisent cette structure "
"en entrée ou en sortie, selon le cas. Elle est définie par ::"
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:39
2016-10-30 09:46:26 +00:00
msgid ""
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
"representation."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie la somme de deux nombres complexes, sous la forme d'un :c:type:"
"`Py_complex` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:45
2016-10-30 09:46:26 +00:00
msgid ""
"Return the difference between two complex numbers, using the C :c:type:"
"`Py_complex` representation."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie la différence de deux nombres complexes, sous la forme d'un :c:type:"
"`Py_complex` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:51
2016-10-30 09:46:26 +00:00
msgid ""
"Return the negation of the complex number *complex*, using the C :c:type:"
"`Py_complex` representation."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie l'opposé du nombre complexe *complex*, sous la forme d'un :c:type:"
"`Py_complex` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:57
2016-10-30 09:46:26 +00:00
msgid ""
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
"representation."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie le produit de deux nombres complexes, sous la forme d'un :c:type:"
"`Py_complex` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:63
2016-10-30 09:46:26 +00:00
msgid ""
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
"representation."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie le quotient de deux nombres complexes, sous la forme d'un :c:type:"
"`Py_complex` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:66
2016-10-30 09:46:26 +00:00
msgid ""
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
"c:data:`EDOM`."
msgstr ""
2019-01-16 23:42:24 +00:00
"Si *divisor* est nul, cette méthode renvoie zéro et assigne :c:data:`EDOM` "
"à :c:data:`errno`."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:72
2016-10-30 09:46:26 +00:00
msgid ""
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
"`Py_complex` representation."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie *num* à la puissance *exp*, sous la forme d'un :c:type:`Py_complex` "
"en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:75
2016-10-30 09:46:26 +00:00
msgid ""
"If *num* is null and *exp* is not a positive real number, this method "
"returns zero and sets :c:data:`errno` to :c:data:`EDOM`."
msgstr ""
2019-01-16 23:42:24 +00:00
"Si *num* est nul et *exp* n'est pas un nombre réel positif, cette méthode "
"renvoie zéro et assigne :c:data:`EDOM` à :c:data:`errno`."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:80
2016-10-30 09:46:26 +00:00
msgid "Complex Numbers as Python Objects"
msgstr "Nombres complexes en tant qu'objets Python"
#: c-api/complex.rst:85
2016-10-30 09:46:26 +00:00
msgid ""
"This subtype of :c:type:`PyObject` represents a Python complex number object."
msgstr ""
2019-01-16 23:42:24 +00:00
"Ce sous-type de l'objet :c:type:`PyObject` représente un nombre complexe en "
"Python."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:90
2016-10-30 09:46:26 +00:00
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
"type. It is the same object as :class:`complex` in the Python layer."
msgstr ""
2019-01-16 23:42:24 +00:00
"Cette instance de :c:type:`PyTypeObject` représente le type nombre complexe "
"Python. C'est le même objet que la classe :class:`complex` de la couche "
"Python."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:96
2016-10-30 09:46:26 +00:00
msgid ""
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
"c:type:`PyComplexObject`."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie vrai si l'argument est de type :c:type:`PyComplexObject` ou un sous-"
"type de :c:type:`PyComplexObject`."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:102
2016-10-30 09:46:26 +00:00
msgid ""
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
"subtype of :c:type:`PyComplexObject`."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie vrai si l'argument est de type :c:type:`PyComplexObject`, mais pas "
"un sous-type de :c:type:`PyComplexObject`."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:108
2016-10-30 09:46:26 +00:00
msgid ""
"Create a new Python complex number object from a C :c:type:`Py_complex` "
"value."
msgstr ""
2019-01-16 23:42:24 +00:00
"Crée un nouveau nombre complexe à partir de la valeur d'un :c:type:"
"`Py_complex` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:113
2016-10-30 09:46:26 +00:00
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie un nouveau :c:type:`PyComplexObject` à partir de *real* et de *imag*."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:118
2016-10-30 09:46:26 +00:00
msgid "Return the real part of *op* as a C :c:type:`double`."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie la partie réelle du nombre complexe *op* sous la forme d'un :c:type:"
"`double` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:123
2016-10-30 09:46:26 +00:00
msgid "Return the imaginary part of *op* as a C :c:type:`double`."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie la partie imaginaire du nombre complexe *op* sous la forme d'un :c:"
"type:`double` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:128
2016-10-30 09:46:26 +00:00
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
msgstr ""
2019-01-16 23:42:24 +00:00
"Renvoie la valeur du nombre complexe *op* sous la forme d'un :c:type:"
"`Py_complex` en C."
2016-10-30 09:46:26 +00:00
#: c-api/complex.rst:130
2019-09-04 09:35:23 +00:00
#, fuzzy
2016-10-30 09:46:26 +00:00
msgid ""
"If *op* is not a Python complex number object but has a :meth:`__complex__` "
"method, this method will first be called to convert *op* to a Python complex "
2019-09-04 09:35:23 +00:00
"number object. If ``__complex__()`` is not defined then it falls back to :"
"meth:`__float__`. If ``__float__()`` is not defined then it falls back to :"
"meth:`__index__`. Upon failure, this method returns ``-1.0`` as a real "
"value."
2016-10-30 09:46:26 +00:00
msgstr ""
2019-01-16 23:42:24 +00:00
"Si *op* n'est pas un nombre complexe Python mais a une méthode :meth:"
"`__complex__`, cette méthode est d'abord appelée pour convertir *op* en "
"nombre complexe Python. En cas d'échec, cette méthode renvoie ``-1.0`` en "
"tant que nombre réel."
2019-09-04 09:35:23 +00:00
#: c-api/complex.rst:137
2019-09-04 09:35:23 +00:00
msgid "Use :meth:`__index__` if available."
msgstr ""