@@ -55,54 +55,73 @@ msgid ""
55
55
"objects use structures of this type as input or output values, as "
56
56
"appropriate. It is defined as::"
57
57
msgstr ""
58
+ "Structure C représentant la valeur d'un nombre complexe Python. La majorité "
59
+ "des fonctions qui traitent des nombres complexes utilisent cette structure "
60
+ "en entrée ou en sortie, selon le cas. Elle est définie par ::"
58
61
59
62
#: ../Doc/c-api/complex.rst:39
60
63
msgid ""
61
64
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
62
65
"representation."
63
66
msgstr ""
67
+ "Renvoie la somme de deux nombres complexes, sous la forme d'un :c:type:"
68
+ "`Py_complex` en C."
64
69
65
70
#: ../Doc/c-api/complex.rst:45
66
71
msgid ""
67
72
"Return the difference between two complex numbers, using the C :c:type:"
68
73
"`Py_complex` representation."
69
74
msgstr ""
75
+ "Renvoie la différence de deux nombres complexes, sous la forme d'un :c:type:"
76
+ "`Py_complex` en C."
70
77
71
78
#: ../Doc/c-api/complex.rst:51
72
79
msgid ""
73
80
"Return the negation of the complex number *complex*, using the C :c:type:"
74
81
"`Py_complex` representation."
75
82
msgstr ""
83
+ "Renvoie l'opposé du nombre complexe *complex*, sous la forme d'un :c:type:"
84
+ "`Py_complex` en C."
76
85
77
86
#: ../Doc/c-api/complex.rst:57
78
87
msgid ""
79
88
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
80
89
"representation."
81
90
msgstr ""
91
+ "Renvoie le produit de deux nombres complexes, sous la forme d'un :c:type:"
92
+ "`Py_complex` en C."
82
93
83
94
#: ../Doc/c-api/complex.rst:63
84
95
msgid ""
85
96
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
86
97
"representation."
87
98
msgstr ""
99
+ "Renvoie le quotient de deux nombres complexes, sous la forme d'un :c:type:"
100
+ "`Py_complex` en C."
88
101
89
102
#: ../Doc/c-api/complex.rst:66
90
103
msgid ""
91
104
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
92
105
"c:data:`EDOM`."
93
106
msgstr ""
107
+ "Si *divisor* est nul, cette méthode renvoie zéro et assigne :c:data:`EDOM` "
108
+ "à :c:data:`errno`."
94
109
95
110
#: ../Doc/c-api/complex.rst:72
96
111
msgid ""
97
112
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
98
113
"`Py_complex` representation."
99
114
msgstr ""
115
+ "Renvoie *num* à la puissance *exp*, sous la forme d'un :c:type:`Py_complex` "
116
+ "en C."
100
117
101
118
#: ../Doc/c-api/complex.rst:75
102
119
msgid ""
103
120
"If *num* is null and *exp* is not a positive real number, this method "
104
121
"returns zero and sets :c:data:`errno` to :c:data:`EDOM`."
105
122
msgstr ""
123
+ "Si *num* est nul et *exp* n'est pas un nombre réel positif, cette méthode "
124
+ "renvoie zéro et assigne :c:data:`EDOM` à :c:data:`errno`."
106
125
107
126
#: ../Doc/c-api/complex.rst:80
108
127
msgid "Complex Numbers as Python Objects"
@@ -112,50 +131,72 @@ msgstr "Nombres complexes en tant qu'objets Python"
112
131
msgid ""
113
132
"This subtype of :c:type:`PyObject` represents a Python complex number object."
114
133
msgstr ""
134
+ "Ce sous-type de l'objet :c:type:`PyObject` représente un nombre complexe en "
135
+ "Python."
115
136
116
137
#: ../Doc/c-api/complex.rst:90
117
138
msgid ""
118
139
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
119
140
"type. It is the same object as :class:`complex` in the Python layer."
120
141
msgstr ""
142
+ "Cette instance de :c:type:`PyTypeObject` représente le type nombre complexe "
143
+ "Python. C'est le même objet que la classe :class:`complex` de la couche "
144
+ "Python."
121
145
122
146
#: ../Doc/c-api/complex.rst:96
123
147
msgid ""
124
148
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
125
149
"c:type:`PyComplexObject`."
126
150
msgstr ""
151
+ "Renvoie vrai si l'argument est de type :c:type:`PyComplexObject` ou un sous-"
152
+ "type de :c:type:`PyComplexObject`."
127
153
128
154
#: ../Doc/c-api/complex.rst:102
129
155
msgid ""
130
156
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
131
157
"subtype of :c:type:`PyComplexObject`."
132
158
msgstr ""
159
+ "Renvoie vrai si l'argument est de type :c:type:`PyComplexObject`, mais pas "
160
+ "un sous-type de :c:type:`PyComplexObject`."
133
161
134
162
#: ../Doc/c-api/complex.rst:108
135
163
msgid ""
136
164
"Create a new Python complex number object from a C :c:type:`Py_complex` "
137
165
"value."
138
166
msgstr ""
167
+ "Crée un nouveau nombre complexe à partir de la valeur d'un :c:type:"
168
+ "`Py_complex` en C."
139
169
140
170
#: ../Doc/c-api/complex.rst:113
141
171
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
142
172
msgstr ""
173
+ "Renvoie un nouveau :c:type:`PyComplexObject` à partir de *real* et de *imag*."
143
174
144
175
#: ../Doc/c-api/complex.rst:118
145
176
msgid "Return the real part of *op* as a C :c:type:`double`."
146
177
msgstr ""
178
+ "Renvoie la partie réelle du nombre complexe *op* sous la forme d'un :c:type:"
179
+ "`double` en C."
147
180
148
181
#: ../Doc/c-api/complex.rst:123
149
182
msgid "Return the imaginary part of *op* as a C :c:type:`double`."
150
183
msgstr ""
184
+ "Renvoie la partie imaginaire du nombre complexe *op* sous la forme d'un :c:"
185
+ "type:`double` en C."
151
186
152
187
#: ../Doc/c-api/complex.rst:128
153
188
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
154
189
msgstr ""
190
+ "Renvoie la valeur du nombre complexe *op* sous la forme d'un :c:type:"
191
+ "`Py_complex` en C."
155
192
156
193
#: ../Doc/c-api/complex.rst:130
157
194
msgid ""
158
195
"If *op* is not a Python complex number object but has a :meth:`__complex__` "
159
196
"method, this method will first be called to convert *op* to a Python complex "
160
197
"number object. Upon failure, this method returns ``-1.0`` as a real value."
161
198
msgstr ""
199
+ "Si *op* n'est pas un nombre complexe Python mais a une méthode :meth:"
200
+ "`__complex__`, cette méthode est d'abord appelée pour convertir *op* en "
201
+ "nombre complexe Python. En cas d'échec, cette méthode renvoie ``-1.0`` en "
202
+ "tant que nombre réel."