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