Skip to content

Commit ab52579

Browse files
committed
Replicating from 3.7
1 parent 739c3a9 commit ab52579

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+9176
-1147
lines changed

c-api/cell.po

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,31 +45,37 @@ msgstr ""
4545

4646
#: ../Doc/c-api/cell.rst:20
4747
msgid "The C structure used for cell objects."
48-
msgstr ""
48+
msgstr "Structure C utilisée pour les objets cellules."
4949

5050
#: ../Doc/c-api/cell.rst:25
5151
msgid "The type object corresponding to cell objects."
52-
msgstr ""
52+
msgstr "Type objet correspondant aux objets cellules."
5353

5454
#: ../Doc/c-api/cell.rst:30
5555
msgid "Return true if *ob* is a cell object; *ob* must not be *NULL*."
5656
msgstr ""
57+
"Renvoie ``True`` si *ob* est un objet cellule ; *ob* ne doit pas être à "
58+
"*NULL*."
5759

5860
#: ../Doc/c-api/cell.rst:35
5961
msgid ""
6062
"Create and return a new cell object containing the value *ob*. The parameter "
6163
"may be *NULL*."
6264
msgstr ""
65+
"Crée et retourne un nouvel objet cellule contenant la valeur *ob*. Le "
66+
"paramètre peut être mis à *NULL*."
6367

6468
#: ../Doc/c-api/cell.rst:41
6569
msgid "Return the contents of the cell *cell*."
66-
msgstr ""
70+
msgstr "Renvoie le contenu de la cellule *cell*."
6771

6872
#: ../Doc/c-api/cell.rst:46
6973
msgid ""
7074
"Return the contents of the cell *cell*, but without checking that *cell* is "
7175
"non-*NULL* and a cell object."
7276
msgstr ""
77+
"Renvoie le contenu de la cellule *cell*, mais sans vérifier si *cell* est "
78+
"non *NULL* et sans vérifier si c'est un objet cellule."
7379

7480
#: ../Doc/c-api/cell.rst:52
7581
msgid ""
@@ -78,10 +84,17 @@ msgid ""
7884
"must be non-*NULL*; if it is not a cell object, ``-1`` will be returned. On "
7985
"success, ``0`` will be returned."
8086
msgstr ""
87+
"Définit le contenu de l'objet cellule à *value*. Cela libère la référence à "
88+
"toute valeur de la cellule. *value* peut être fixé à *NULL*. *cell* ne doit "
89+
"pas être *NULL* ; si ce n'est pas un objet cellule, ``-1`` est renvoyé. Si "
90+
"c'est un objet cellule, renvoie ``0``."
8191

8292
#: ../Doc/c-api/cell.rst:60
8393
msgid ""
8494
"Sets the value of the cell object *cell* to *value*. No reference counts "
8595
"are adjusted, and no checks are made for safety; *cell* must be non-*NULL* "
8696
"and must be a cell object."
8797
msgstr ""
98+
"Définit la valeur de l'objet cellule à *value*. Pas de comptage de "
99+
"références n'est ajusté et il n'y' a pas de contrôle effectué pour vérifier "
100+
"la sûreté ; *cell* doit être à non *NULL* et doit être un objet cellule."

c-api/complex.po

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,54 +55,73 @@ msgid ""
5555
"objects use structures of this type as input or output values, as "
5656
"appropriate. It is defined as::"
5757
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 ::"
5861

5962
#: ../Doc/c-api/complex.rst:39
6063
msgid ""
6164
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
6265
"representation."
6366
msgstr ""
67+
"Renvoie la somme de deux nombres complexes, sous la forme d'un :c:type:"
68+
"`Py_complex` en C."
6469

6570
#: ../Doc/c-api/complex.rst:45
6671
msgid ""
6772
"Return the difference between two complex numbers, using the C :c:type:"
6873
"`Py_complex` representation."
6974
msgstr ""
75+
"Renvoie la différence de deux nombres complexes, sous la forme d'un :c:type:"
76+
"`Py_complex` en C."
7077

7178
#: ../Doc/c-api/complex.rst:51
7279
msgid ""
7380
"Return the negation of the complex number *complex*, using the C :c:type:"
7481
"`Py_complex` representation."
7582
msgstr ""
83+
"Renvoie l'opposé du nombre complexe *complex*, sous la forme d'un :c:type:"
84+
"`Py_complex` en C."
7685

7786
#: ../Doc/c-api/complex.rst:57
7887
msgid ""
7988
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
8089
"representation."
8190
msgstr ""
91+
"Renvoie le produit de deux nombres complexes, sous la forme d'un :c:type:"
92+
"`Py_complex` en C."
8293

8394
#: ../Doc/c-api/complex.rst:63
8495
msgid ""
8596
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
8697
"representation."
8798
msgstr ""
99+
"Renvoie le quotient de deux nombres complexes, sous la forme d'un :c:type:"
100+
"`Py_complex` en C."
88101

89102
#: ../Doc/c-api/complex.rst:66
90103
msgid ""
91104
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
92105
"c:data:`EDOM`."
93106
msgstr ""
107+
"Si *divisor* est nul, cette méthode renvoie zéro et assigne :c:data:`EDOM` "
108+
"à :c:data:`errno`."
94109

95110
#: ../Doc/c-api/complex.rst:72
96111
msgid ""
97112
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
98113
"`Py_complex` representation."
99114
msgstr ""
115+
"Renvoie *num* à la puissance *exp*, sous la forme d'un :c:type:`Py_complex` "
116+
"en C."
100117

101118
#: ../Doc/c-api/complex.rst:75
102119
msgid ""
103120
"If *num* is null and *exp* is not a positive real number, this method "
104121
"returns zero and sets :c:data:`errno` to :c:data:`EDOM`."
105122
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`."
106125

107126
#: ../Doc/c-api/complex.rst:80
108127
msgid "Complex Numbers as Python Objects"
@@ -112,50 +131,72 @@ msgstr "Nombres complexes en tant qu'objets Python"
112131
msgid ""
113132
"This subtype of :c:type:`PyObject` represents a Python complex number object."
114133
msgstr ""
134+
"Ce sous-type de l'objet :c:type:`PyObject` représente un nombre complexe en "
135+
"Python."
115136

116137
#: ../Doc/c-api/complex.rst:90
117138
msgid ""
118139
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
119140
"type. It is the same object as :class:`complex` in the Python layer."
120141
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."
121145

122146
#: ../Doc/c-api/complex.rst:96
123147
msgid ""
124148
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
125149
"c:type:`PyComplexObject`."
126150
msgstr ""
151+
"Renvoie vrai si l'argument est de type :c:type:`PyComplexObject` ou un sous-"
152+
"type de :c:type:`PyComplexObject`."
127153

128154
#: ../Doc/c-api/complex.rst:102
129155
msgid ""
130156
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
131157
"subtype of :c:type:`PyComplexObject`."
132158
msgstr ""
159+
"Renvoie vrai si l'argument est de type :c:type:`PyComplexObject`, mais pas "
160+
"un sous-type de :c:type:`PyComplexObject`."
133161

134162
#: ../Doc/c-api/complex.rst:108
135163
msgid ""
136164
"Create a new Python complex number object from a C :c:type:`Py_complex` "
137165
"value."
138166
msgstr ""
167+
"Crée un nouveau nombre complexe à partir de la valeur d'un :c:type:"
168+
"`Py_complex` en C."
139169

140170
#: ../Doc/c-api/complex.rst:113
141171
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
142172
msgstr ""
173+
"Renvoie un nouveau :c:type:`PyComplexObject` à partir de *real* et de *imag*."
143174

144175
#: ../Doc/c-api/complex.rst:118
145176
msgid "Return the real part of *op* as a C :c:type:`double`."
146177
msgstr ""
178+
"Renvoie la partie réelle du nombre complexe *op* sous la forme d'un :c:type:"
179+
"`double` en C."
147180

148181
#: ../Doc/c-api/complex.rst:123
149182
msgid "Return the imaginary part of *op* as a C :c:type:`double`."
150183
msgstr ""
184+
"Renvoie la partie imaginaire du nombre complexe *op* sous la forme d'un :c:"
185+
"type:`double` en C."
151186

152187
#: ../Doc/c-api/complex.rst:128
153188
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
154189
msgstr ""
190+
"Renvoie la valeur du nombre complexe *op* sous la forme d'un :c:type:"
191+
"`Py_complex` en C."
155192

156193
#: ../Doc/c-api/complex.rst:130
157194
msgid ""
158195
"If *op* is not a Python complex number object but has a :meth:`__complex__` "
159196
"method, this method will first be called to convert *op* to a Python complex "
160197
"number object. Upon failure, this method returns ``-1.0`` as a real value."
161198
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."

0 commit comments

Comments
 (0)