Skip to content

Commit d562365

Browse files
committed
Backporting from 3.11
1 parent 99f2135 commit d562365

Some content is hidden

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

64 files changed

+2357
-383
lines changed

bugs.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,15 @@ msgstr ""
188188

189189
#: bugs.rst:67
190190
msgid "The submission form has two fields, \"Title\" and \"Comment\"."
191-
msgstr ""
191+
msgstr "Le formulaire de rapport contient deux champs, *Title* et *Comment*."
192192

193193
#: bugs.rst:69
194194
msgid ""
195195
"For the \"Title\" field, enter a *very* short description of the problem; "
196196
"less than ten words is good."
197197
msgstr ""
198+
"Dans le champ *Title*, entrez une *très* brève description du problème "
199+
"rencontré ; tâchez de vous limiter à dix mots."
198200

199201
#: bugs.rst:72
200202
msgid ""

c-api/apiabiversion.po

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,16 @@ msgid ""
2424
"correspond to the version code is **built** with, not necessarily the "
2525
"version used at **run time**."
2626
msgstr ""
27+
"CPython révèle son numéro de version dans les macros suivantes. À noter "
28+
"qu'ils correspondent au code de la version **compilée** avec, pas "
29+
"nécessairement la version utilisée à l'**exécution**."
2730

2831
#: c-api/apiabiversion.rst:13
2932
msgid ""
3033
"See :ref:`stable` for a discussion of API and ABI stability across versions."
3134
msgstr ""
35+
"Voir :ref:`stable` pour une discussion sur la stabilité des API et ABI entre "
36+
"(ou en fonction) de la version."
3237

3338
#: c-api/apiabiversion.rst:17
3439
#, fuzzy
@@ -92,7 +97,7 @@ msgstr "Signification"
9297

9398
#: c-api/apiabiversion.rst:45
9499
msgid "Value for ``3.4.1a2``"
95-
msgstr ""
100+
msgstr "Valeur pour ``3.4.1a2``"
96101

97102
#: c-api/apiabiversion.rst:47
98103
msgid "1"
@@ -105,11 +110,11 @@ msgstr "``1-8``"
105110

106111
#: c-api/apiabiversion.rst:47
107112
msgid "``PY_MAJOR_VERSION``"
108-
msgstr ""
113+
msgstr "``PY_MAJOR_VERSION``"
109114

110115
#: c-api/apiabiversion.rst:47
111116
msgid "``0x03``"
112-
msgstr ""
117+
msgstr "``0x03``"
113118

114119
#: c-api/apiabiversion.rst:49
115120
msgid "2"
@@ -122,11 +127,11 @@ msgstr "``9-16``"
122127

123128
#: c-api/apiabiversion.rst:49
124129
msgid "``PY_MINOR_VERSION``"
125-
msgstr ""
130+
msgstr "``PY_MINOR_VERSION``"
126131

127132
#: c-api/apiabiversion.rst:49
128133
msgid "``0x04``"
129-
msgstr ""
134+
msgstr "``0x04``"
130135

131136
#: c-api/apiabiversion.rst:51
132137
msgid "3"
@@ -139,11 +144,11 @@ msgstr "``17-24``"
139144

140145
#: c-api/apiabiversion.rst:51
141146
msgid "``PY_MICRO_VERSION``"
142-
msgstr ""
147+
msgstr "``PY_MICRO_VERSION``"
143148

144149
#: c-api/apiabiversion.rst:51
145150
msgid "``0x01``"
146-
msgstr ""
151+
msgstr "``0x01``"
147152

148153
#: c-api/apiabiversion.rst:53
149154
msgid "4"
@@ -156,11 +161,11 @@ msgstr "``25-28``"
156161

157162
#: c-api/apiabiversion.rst:53
158163
msgid "``PY_RELEASE_LEVEL``"
159-
msgstr ""
164+
msgstr "``PY_RELEASE_LEVEL``"
160165

161166
#: c-api/apiabiversion.rst:53
162167
msgid "``0xA``"
163-
msgstr ""
168+
msgstr "``0xA``"
164169

165170
#: c-api/apiabiversion.rst:55
166171
#, fuzzy
@@ -169,11 +174,11 @@ msgstr "``29-32``"
169174

170175
#: c-api/apiabiversion.rst:55
171176
msgid "``PY_RELEASE_SERIAL``"
172-
msgstr ""
177+
msgstr "``PY_RELEASE_SERIAL``"
173178

174179
#: c-api/apiabiversion.rst:55
175180
msgid "``0x2``"
176-
msgstr ""
181+
msgstr "``0x2``"
177182

178183
#: c-api/apiabiversion.rst:58
179184
#, fuzzy

c-api/call.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ msgstr "Fonction"
261261

262262
#: c-api/call.rst:189
263263
msgid "callable"
264-
msgstr ""
264+
msgstr "appelable (*callable*)"
265265

266266
#: c-api/call.rst:189
267267
msgid "args"

c-api/function.po

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,32 +20,39 @@ msgstr "Objets fonctions"
2020

2121
#: c-api/function.rst:10
2222
msgid "There are a few functions specific to Python functions."
23-
msgstr ""
23+
msgstr "Certaines fonctions sont spécifiques aux fonctions Python."
2424

2525
#: c-api/function.rst:15
2626
msgid "The C structure used for functions."
27-
msgstr ""
27+
msgstr "La structure C utilisée pour les fonctions."
2828

2929
#: c-api/function.rst:22
3030
msgid ""
3131
"This is an instance of :c:type:`PyTypeObject` and represents the Python "
3232
"function type. It is exposed to Python programmers as ``types."
3333
"FunctionType``."
3434
msgstr ""
35+
"C'est une instance de :c:type:`PyTypeObject` et représente le type fonction "
36+
"en Python. Il est exposé aux développeurs comme ``types.FunctionType``."
3537

3638
#: c-api/function.rst:28
3739
msgid ""
3840
"Return true if *o* is a function object (has type :c:data:"
3941
"`PyFunction_Type`). The parameter must not be ``NULL``. This function "
4042
"always succeeds."
4143
msgstr ""
44+
"Renvoie vrai si *o* est un objet de type fonction (a comme type :c:data:"
45+
"`PyFunction_Type`). Le paramètre ne doit pas être ``NULL``. Cette fonction "
46+
"réussit toujours."
4247

4348
#: c-api/function.rst:34
4449
msgid ""
4550
"Return a new function object associated with the code object *code*. "
4651
"*globals* must be a dictionary with the global variables accessible to the "
4752
"function."
4853
msgstr ""
54+
"Renvoie une nouvelle fonction associée avec l'objet *code*. *globals* doit "
55+
"être un dictionnaire avec les variables globales accessibles à la fonction."
4956

5057
#: c-api/function.rst:37
5158
msgid ""
@@ -65,60 +72,77 @@ msgstr ""
6572

6673
#: c-api/function.rst:54
6774
msgid "Return the code object associated with the function object *op*."
68-
msgstr ""
75+
msgstr "Renvoie l'objet code associé avec l'objet de la fonction *op*."
6976

7077
#: c-api/function.rst:59
7178
msgid "Return the globals dictionary associated with the function object *op*."
7279
msgstr ""
80+
"Renvoie le dictionnaire global associé avec l'objet de la fonction *op*."
7381

7482
#: c-api/function.rst:64
7583
msgid ""
7684
"Return a :term:`borrowed reference` to the *__module__* attribute of the "
7785
"function object *op*. It can be *NULL*."
7886
msgstr ""
87+
"Renvoie un :term:`borrowed reference` à l'attribut ``__module__`` de l'objet "
88+
"fonction *op*. Il peut être *NULL*."
7989

8090
#: c-api/function.rst:67
8191
msgid ""
8292
"This is normally a string containing the module name, but can be set to any "
8393
"other object by Python code."
8494
msgstr ""
95+
"C'est typiquement une chaîne de caractère contenant le nom du module, mais "
96+
"il peut être changé par du code Python pour n'importe quel autre objet."
8597

8698
#: c-api/function.rst:73
8799
msgid ""
88100
"Return the argument default values of the function object *op*. This can be "
89101
"a tuple of arguments or ``NULL``."
90102
msgstr ""
103+
"Renvoie les valeurs par défaut de l'argument de l'objet de la fonction *op*. "
104+
"Cela peut être un tuple d'arguments ou ``NULL``."
91105

92106
#: c-api/function.rst:79
93107
msgid ""
94108
"Set the argument default values for the function object *op*. *defaults* "
95109
"must be ``Py_None`` or a tuple."
96110
msgstr ""
111+
"Définir les valeurs par défaut de l'argument pour l'objet de la fonction "
112+
"*op*. *defaults* doit être ``Py_None`` ou un tuple."
97113

98114
#: c-api/function.rst:96 c-api/function.rst:110
99115
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
100-
msgstr ""
116+
msgstr "Lève :exc:`SystemError` et renvoie ``-1`` en cas de d'échec."
101117

102118
#: c-api/function.rst:87
103119
msgid ""
104120
"Return the closure associated with the function object *op*. This can be "
105121
"``NULL`` or a tuple of cell objects."
106122
msgstr ""
123+
"Renvoie la fermeture associée avec l'objet de la fonction *op*. Cela peut "
124+
"être ``NULL`` ou un tuple d'objets cellule."
107125

108126
#: c-api/function.rst:93
109127
msgid ""
110128
"Set the closure associated with the function object *op*. *closure* must be "
111129
"``Py_None`` or a tuple of cell objects."
112130
msgstr ""
131+
"Définir la fermeture associée avec l'objet de la fonction *op*. *closure* "
132+
"doit être ``Py_None`` ou un tuple d'objets cellule."
113133

114134
#: c-api/function.rst:101
115135
msgid ""
116136
"Return the annotations of the function object *op*. This can be a mutable "
117137
"dictionary or ``NULL``."
118138
msgstr ""
139+
"Renvoie les annotations de l'objet de la fonction *op*. Cela peut être un "
140+
"dictionnaire mutable ou ``NULL``."
119141

120142
#: c-api/function.rst:107
121143
msgid ""
122144
"Set the annotations for the function object *op*. *annotations* must be a "
123145
"dictionary or ``Py_None``."
124146
msgstr ""
147+
"Définir les annotations pour l'objet de la fonction *op*. *annotations* doit "
148+
"être un dictionnaire ou ``Py_None``."

0 commit comments

Comments
 (0)