@@ -54,54 +54,73 @@ msgid ""
5454"objects use structures of this type as input or output values, as "
5555"appropriate. It is defined as::"
5656msgstr ""
57+ "Structure C représentant la valeur d'un nombre complexe Python. La majorité "
58+ "des fonctions qui traitent des nombres complexes utilisent cette structure "
59+ "en entrée ou en sortie, selon le cas. Elle est définie par ::"
5760
5861#: ../Doc/c-api/complex.rst:39
5962msgid ""
6063"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
6164"representation."
6265msgstr ""
66+ "Renvoie la somme de deux nombres complexes, sous la forme d'un :c:type:"
67+ "`Py_complex` en C."
6368
6469#: ../Doc/c-api/complex.rst:45
6570msgid ""
6671"Return the difference between two complex numbers, using the C :c:type:"
6772"`Py_complex` representation."
6873msgstr ""
74+ "Renvoie la différence de deux nombres complexes, sous la forme d'un :c:type:"
75+ "`Py_complex` en C."
6976
7077#: ../Doc/c-api/complex.rst:51
7178msgid ""
7279"Return the negation of the complex number *complex*, using the C :c:type:"
7380"`Py_complex` representation."
7481msgstr ""
82+ "Renvoie l'opposé du nombre complexe *complex*, sous la forme d'un :c:type:"
83+ "`Py_complex` en C."
7584
7685#: ../Doc/c-api/complex.rst:57
7786msgid ""
7887"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
7988"representation."
8089msgstr ""
90+ "Renvoie le produit de deux nombres complexes, sous la forme d'un :c:type:"
91+ "`Py_complex` en C."
8192
8293#: ../Doc/c-api/complex.rst:63
8394msgid ""
8495"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
8596"representation."
8697msgstr ""
98+ "Renvoie le quotient de deux nombres complexes, sous la forme d'un :c:type:"
99+ "`Py_complex` en C."
87100
88101#: ../Doc/c-api/complex.rst:66
89102msgid ""
90103"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
91104"c:data:`EDOM`."
92105msgstr ""
106+ "Si *divisor* est nul, cette méthode renvoie zéro et assigne :c:data:`EDOM` "
107+ "à :c:data:`errno`."
93108
94109#: ../Doc/c-api/complex.rst:72
95110msgid ""
96111"Return the exponentiation of *num* by *exp*, using the C :c:type:"
97112"`Py_complex` representation."
98113msgstr ""
114+ "Renvoie *num* à la puissance *exp*, sous la forme d'un :c:type:`Py_complex` "
115+ "en C."
99116
100117#: ../Doc/c-api/complex.rst:75
101118msgid ""
102119"If *num* is null and *exp* is not a positive real number, this method "
103120"returns zero and sets :c:data:`errno` to :c:data:`EDOM`."
104121msgstr ""
122+ "Si *num* est nul et *exp* n'est pas un nombre réel positif, cette méthode "
123+ "renvoie zéro et assigne :c:data:`EDOM` à :c:data:`errno`."
105124
106125#: ../Doc/c-api/complex.rst:80
107126msgid "Complex Numbers as Python Objects"
@@ -111,50 +130,72 @@ msgstr "Nombres complexes en tant qu'objets Python"
111130msgid ""
112131"This subtype of :c:type:`PyObject` represents a Python complex number object."
113132msgstr ""
133+ "Ce sous-type de l'objet :c:type:`PyObject` représente un nombre complexe en "
134+ "Python."
114135
115136#: ../Doc/c-api/complex.rst:90
116137msgid ""
117138"This instance of :c:type:`PyTypeObject` represents the Python complex number "
118139"type. It is the same object as :class:`complex` in the Python layer."
119140msgstr ""
141+ "Cette instance de :c:type:`PyTypeObject` représente le type nombre complexe "
142+ "Python. C'est le même objet que la classe :class:`complex` de la couche "
143+ "Python."
120144
121145#: ../Doc/c-api/complex.rst:96
122146msgid ""
123147"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
124148"c:type:`PyComplexObject`."
125149msgstr ""
150+ "Renvoie vrai si l'argument est de type :c:type:`PyComplexObject` ou un sous-"
151+ "type de :c:type:`PyComplexObject`."
126152
127153#: ../Doc/c-api/complex.rst:102
128154msgid ""
129155"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
130156"subtype of :c:type:`PyComplexObject`."
131157msgstr ""
158+ "Renvoie vrai si l'argument est de type :c:type:`PyComplexObject`, mais pas "
159+ "un sous-type de :c:type:`PyComplexObject`."
132160
133161#: ../Doc/c-api/complex.rst:108
134162msgid ""
135163"Create a new Python complex number object from a C :c:type:`Py_complex` "
136164"value."
137165msgstr ""
166+ "Crée un nouveau nombre complexe à partir de la valeur d'un :c:type:"
167+ "`Py_complex` en C."
138168
139169#: ../Doc/c-api/complex.rst:113
140170msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
141171msgstr ""
172+ "Renvoie un nouveau :c:type:`PyComplexObject` à partir de *real* et de *imag*."
142173
143174#: ../Doc/c-api/complex.rst:118
144175msgid "Return the real part of *op* as a C :c:type:`double`."
145176msgstr ""
177+ "Renvoie la partie réelle du nombre complexe *op* sous la forme d'un :c:type:"
178+ "`double` en C."
146179
147180#: ../Doc/c-api/complex.rst:123
148181msgid "Return the imaginary part of *op* as a C :c:type:`double`."
149182msgstr ""
183+ "Renvoie la partie imaginaire du nombre complexe *op* sous la forme d'un :c:"
184+ "type:`double` en C."
150185
151186#: ../Doc/c-api/complex.rst:128
152187msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
153188msgstr ""
189+ "Renvoie la valeur du nombre complexe *op* sous la forme d'un :c:type:"
190+ "`Py_complex` en C."
154191
155192#: ../Doc/c-api/complex.rst:130
156193msgid ""
157194"If *op* is not a Python complex number object but has a :meth:`__complex__` "
158195"method, this method will first be called to convert *op* to a Python complex "
159196"number object. Upon failure, this method returns ``-1.0`` as a real value."
160197msgstr ""
198+ "Si *op* n'est pas un nombre complexe Python mais a une méthode :meth:"
199+ "`__complex__`, cette méthode est d'abord appelée pour convertir *op* en "
200+ "nombre complexe Python. En cas d'échec, cette méthode renvoie ``-1.0`` en "
201+ "tant que nombre réel."
0 commit comments