Skip to content

Commit 6773f3a

Browse files
committed
Replicating from 3.7
1 parent af29293 commit 6773f3a

Some content is hidden

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

110 files changed

+8172
-1068
lines changed

c-api/cell.po

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

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

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

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

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

6367
#: ../Doc/c-api/cell.rst:41
6468
msgid "Return the contents of the cell *cell*."
65-
msgstr ""
69+
msgstr "Renvoie le contenu de la cellule *cell*."
6670

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

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

8191
#: ../Doc/c-api/cell.rst:60
8292
msgid ""
8393
"Sets the value of the cell object *cell* to *value*. No reference counts "
8494
"are adjusted, and no checks are made for safety; *cell* must be non-*NULL* "
8595
"and must be a cell object."
8696
msgstr ""
97+
"Définit la valeur de l'objet cellule à *value*. Pas de comptage de "
98+
"références n'est ajusté et il n'y' a pas de contrôle effectué pour vérifier "
99+
"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
@@ -54,54 +54,73 @@ msgid ""
5454
"objects use structures of this type as input or output values, as "
5555
"appropriate. It is defined as::"
5656
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 ::"
5760

5861
#: ../Doc/c-api/complex.rst:39
5962
msgid ""
6063
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
6164
"representation."
6265
msgstr ""
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
6570
msgid ""
6671
"Return the difference between two complex numbers, using the C :c:type:"
6772
"`Py_complex` representation."
6873
msgstr ""
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
7178
msgid ""
7279
"Return the negation of the complex number *complex*, using the C :c:type:"
7380
"`Py_complex` representation."
7481
msgstr ""
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
7786
msgid ""
7887
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
7988
"representation."
8089
msgstr ""
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
8394
msgid ""
8495
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
8596
"representation."
8697
msgstr ""
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
89102
msgid ""
90103
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
91104
"c:data:`EDOM`."
92105
msgstr ""
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
95110
msgid ""
96111
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
97112
"`Py_complex` representation."
98113
msgstr ""
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
101118
msgid ""
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`."
104121
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`."
105124

106125
#: ../Doc/c-api/complex.rst:80
107126
msgid "Complex Numbers as Python Objects"
@@ -111,50 +130,72 @@ msgstr "Nombres complexes en tant qu'objets Python"
111130
msgid ""
112131
"This subtype of :c:type:`PyObject` represents a Python complex number object."
113132
msgstr ""
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
116137
msgid ""
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."
119140
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."
120144

121145
#: ../Doc/c-api/complex.rst:96
122146
msgid ""
123147
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
124148
"c:type:`PyComplexObject`."
125149
msgstr ""
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
128154
msgid ""
129155
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
130156
"subtype of :c:type:`PyComplexObject`."
131157
msgstr ""
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
134162
msgid ""
135163
"Create a new Python complex number object from a C :c:type:`Py_complex` "
136164
"value."
137165
msgstr ""
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
140170
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
141171
msgstr ""
172+
"Renvoie un nouveau :c:type:`PyComplexObject` à partir de *real* et de *imag*."
142173

143174
#: ../Doc/c-api/complex.rst:118
144175
msgid "Return the real part of *op* as a C :c:type:`double`."
145176
msgstr ""
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
148181
msgid "Return the imaginary part of *op* as a C :c:type:`double`."
149182
msgstr ""
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
152187
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
153188
msgstr ""
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
156193
msgid ""
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."
160197
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."

0 commit comments

Comments
 (0)